building-envelope-data / database

Reference implementation of a product data server as part of the product data network buildingenvelopedata.org
MIT License
0 stars 0 forks source link

Check the existence of UUIDs managed by the metabase #14

Open simon-wacker opened 2 years ago

simon-wacker commented 2 years ago

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.