- Issue created by @persand
- π¦πΊAustralia almunnings Melbourne, π¦πΊ
Delayed pending π Issue with the date-only field Needs work
I'm building a project using Drupal CMS, which uses Smart Date β for date fields. But my Smart Date field doesn't show up in the GraphQL Compose schema.
This suggestion should be credited to apmsooner β who helped me on this in the #graphql channel on Slack:
It should just be 2 files needed.
Address module is a similarly good example.
For schema: Create a new schema type (e.g. SmartDateType - plugin id = SmartDate)
https://git.drupalcode.org/project/graphql_compose/-/blob/2.4.x/src/Plug...
For field type: Create a new field type (e.g. SmartDateItem - plugin id = smartdate, type_sdl = SmartDate )
https://git.drupalcode.org/project/graphql_compose/-/blob/2.4.x/src/Plug...
Active
2.4
Code
Delayed pending π Issue with the date-only field Needs work