Remove address_type and rename phone to phone_address
An event can indeed have several address types Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
defmodule MobilizonWeb.Schema.Actors.FollowerType do
|
||||
@moduledoc """
|
||||
Schema representation for Follower
|
||||
"""
|
||||
use Absinthe.Schema.Notation
|
||||
|
||||
@desc """
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
defmodule MobilizonWeb.Schema.Actors.GroupType do
|
||||
@moduledoc """
|
||||
Schema representation for Group
|
||||
"""
|
||||
use Absinthe.Schema.Notation
|
||||
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
|
||||
import_types(MobilizonWeb.Schema.Actors.MemberType)
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
defmodule MobilizonWeb.Schema.Actors.MemberType do
|
||||
@moduledoc """
|
||||
Schema representation for Member
|
||||
"""
|
||||
use Absinthe.Schema.Notation
|
||||
|
||||
@desc """
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
defmodule MobilizonWeb.Schema.Actors.PersonType do
|
||||
@moduledoc """
|
||||
Schema representation for Person
|
||||
"""
|
||||
use Absinthe.Schema.Notation
|
||||
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
|
||||
import_types(MobilizonWeb.Schema.UserType)
|
||||
|
||||
Reference in New Issue
Block a user