Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacorti committed Sep 24, 2024
1 parent 04adaae commit 3cff51e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/support/test_schemas.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
defmodule Sassone.TestSchemas do
@moduledoc false

defmodule Person do
@derive {
Sassone.Builder,
element_case: :snake,
root_element: "person",
fields: [
gender: [type: :attribute],
name: [type: :element],
surname: [type: :element]
]
}
defstruct [:bio, :gender, :name, :surname]
end
end

0 comments on commit 3cff51e

Please sign in to comment.