From 3cff51e826d894224a3e664d8637e661f9909b1d Mon Sep 17 00:00:00 2001 From: Luca Corti Date: Tue, 24 Sep 2024 19:49:34 +0200 Subject: [PATCH] Add missing file --- test/support/test_schemas.ex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/support/test_schemas.ex diff --git a/test/support/test_schemas.ex b/test/support/test_schemas.ex new file mode 100644 index 0000000..34af7c9 --- /dev/null +++ b/test/support/test_schemas.ex @@ -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