zf

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

commit 114ece136e1650a5fc0d447a8bbf0320a238960a
parent e5d91c68ffe68ecd9c590578be8dd7bc54c4d6bd
Author: Alberto Lerda <30939098+albertolerda@users.noreply.github.com>
Date:   Mon, 24 Oct 2022 19:47:58 +0200

Merge pull request #27 from dyne/person-pubkey

Zenflows.VF.Person.Type: get person just from email
Diffstat:
Msrc/zenflows/vf/person/type.ex | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

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