zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit 86a961ae55d65e2a9a2907a9b70e4dabe6d0a207
parent 21642b2676860c88fe2442b4cfbdb16fbcb527b0
Author: srfsh <dev@srf.sh>
Date:   Tue, 25 Oct 2022 18:53:14 +0300

Zenflows.VF.Person.Type: make return types non-null

Diffstat:
Msrc/zenflows/vf/person/type.ex | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/zenflows/vf/person/type.ex b/src/zenflows/vf/person/type.ex @@ -181,7 +181,7 @@ object :query_person do end @desc "Find if a person exists by email and eddsa-public-key." - field :person_exists, :person do + field :person_exists, non_null(:person) do meta only_guest?: true arg :email, non_null(:string) arg :eddsa_public_key, non_null(:string) @@ -189,7 +189,7 @@ object :query_person do end @desc "Retrieve a person from the email (if a person with that email exists)" - field :person_pubkey, :string do + field :person_pubkey, non_null(:string) do meta only_guest?: true arg :email, non_null(:string) resolve &Resolv.person_pubkey/2