Stream: graphql
Topic: Generation of GraphQL types
Lukas Schmierer (Jan 07 2021 at 11:58):
Hey, I am looking for the easiest way to generate GraphQL types from my custom FHIR profiles.
As far as I know, the IG Publisher is currentelty neither capable of generating GraphQL, nor XSD or JSON Schemas from custom profiles.
So I can not use any existing tools to generate my GraphQL schemas from these.
The only way to go seems to be to write the generator by myself (probably using the StrctureDefinition snapshots)?
Or am I missing something?
I might take some inspiration from here https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/utils/GraphQLSchemaGenerator.java
Last updated: Apr 12 2022 at 19:14 UTC