Problem/Motivation
File resolver for media file fields.
Proposed resolution
Add file field
Add File type
Add FileField resolver
Add File type to graphqls
Remaining tasks
User interface changes
NA
API changes
Add File
Data model changes
Add File
Issue fork graphql_compose-3321787
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
almunningsPatch adds File resolution. Looking for feedback :)
Comment #6
jmolivas commentedThanks for the MR @Al Munnings, can you please fix the namespace "vcaas_graphql" as "graphql_compose"
Comment #7
jmolivas commentedAlso let me know what do you think about, since the returned properties are related to the file scope
What is your opinion to rename properties from this:
to this:
Comment #8
jmolivas commentedAlso let me know what do you think about, since the returned properties are related to the file scope
What is your opinion to rename properties from this:
to this:
Comment #9
almunningsApologies on namespace, I double tapped the MR, so thats resolved in MR 30. Please ignore 29.
RE: Prop values. Yeah that makes sense, I'll update.
Comment #10
almunnings.
Comment #12
jmolivas commented