Dear developer community,
The Cognite product team building the GraphQL API for our Data Modelling API is planning to upgrade third party libraries used in the implementation of the service. This is part of our normal product lifecyle and maintenance, and would not normally be something we make a dedicated announcement of. The upgrade brings improved validation, performance, and other fixes.
However we have seen that this upgrade is liable to cause issues for some clients that make GraphQL requests that are not compliant with the GraphQL specification. Specifically, primitive types in field values will no longer be coerced into the correct type by the GraphQL server. So, for example, a client sending the string ”true” where the boolean value true would be correct will, after the upgrade, receive an error rather than the server quietly accepting and converting the value.
This behavior change should not be an issue for anyone using one of the compliant third party GraphQL client libraries out there. However, “hand-written” GraphQL requests and GraphQL requests composed without validation may be prone to failure.
We aim to roll out this new library version some time this week, pending final testing and review.
Thanks, and best regards,
Anders Daljord Morken
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support