For example, in the mutation createOpticalData check that the given componendId exists in the metabase.
Use plain old HttpClients as we do in the metabase project to query databases.
I tried to use Strawberry Shake as explained in the official docs. However, going through the initial steps with buildingenvelopedata.org/graphql until dontet build and then running that command results in 100% CPU usage for so long that I cancelled the build. I suppose that some feature of the GraphQL schema cannot be handled by Strawberry Shake. Maybe it will work in some future version.
For example, in the mutation
createOpticalData
check that the givencomponendId
exists in the metabase.Use plain old
HttpClient
s as we do in the metabase project to query databases.I tried to use Strawberry Shake as explained in the official docs. However, going through the initial steps with
buildingenvelopedata.org/graphql
untildontet build
and then running that command results in 100% CPU usage for so long that I cancelled the build. I suppose that some feature of the GraphQL schema cannot be handled by Strawberry Shake. Maybe it will work in some future version.