Skip to content

Custom virtual field while resolving proccess #828

Answered by Vincz
scion4581 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. You have to use annotations for that. It's the only way to have a mapping between PHP objects and GraphQL types. Look @gql\Field annotation for example.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@scion4581
Comment options

Answer selected by scion4581
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants