bluehalo/graphql-fhir

Is there a plan to support graphQL directives like @flatten and @first?

tian000 opened this issue · 1 comments

Do you want to submit a request for change, improve documentation, or ask a question?

If asking a question, please attach the 'Question' label

If reporting a bug, please answer the following at minimum and add any additional information you think may be helpful

What is the current behavior?

What is the expected behavior?

What are the steps to reproduce?

What OS are you using and what version of node.js and @asymmetrik/graphql-fhir are you running?

It's not on our immediate roadmap but is something we are aware of and may have added in the near future. We are of course always accepting pull requests if anyone has time to help in adding support for that feature in the meantime. Custom directives are nice and support in graphql-js does seem to exist, but there is not a lot of documentation on them. We are not using Apollo or other tools, so if we want to add directives, we will need to implement them with graphql-js.