Skip to content

Fixes in the GraphQL input types

Compare
Choose a tag to compare
@NickSeagull NickSeagull released this 10 Aug 13:14
· 983 commits to main since this release

In the latest releases, the GraphQL schema generation was improved by adding GraphQLNonNull to elements of arrays.

However, this caused arrays in input types to result in JSONObject instead of the specific type. (e9906b4)

What happened in the last release

Here's what happened

image

It also broke PR #890 which also fixes some JSONObject types, returning specific types instead.

[Booster]  Error: The type of UpsertDossierInput.parties must be Input Type but got: [DossierParty!].

With this release the input types are improved again, so they behave as expected:

image