You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we inspect GraphQL schema types, we also check the return types of corresponding controller methods (or DataFetchers), and nest if necessary for generic parameters such for reactive/async types, paginated types, list types, etc. We perform some sanity checks and detect cases where something is not expected, but generally cannot reliably guard against any unexpected case. That results in reports with missing fields, like with #674.
We can add more detailed DEBUG level logs when we encounter some unexpected case with corresponding Java types to make it easier to track the root cause. In addition, we can change current checks replacing assertions with DEBUG log messages to avoid hard failures out of the box. The decision for a hard failure is instead deferred to the application with #672.
The text was updated successfully, but these errors were encountered:
rstoyanchev
changed the title
Update schema mappings inspection to produce more detailed logs to debug potential issues
Update schema mappings inspection to produce more detailed logs for unexpected Java types
Apr 26, 2023
As we inspect GraphQL schema types, we also check the return types of corresponding controller methods (or
DataFetcher
s), and nest if necessary for generic parameters such for reactive/async types, paginated types, list types, etc. We perform some sanity checks and detect cases where something is not expected, but generally cannot reliably guard against any unexpected case. That results in reports with missing fields, like with #674.We can add more detailed DEBUG level logs when we encounter some unexpected case with corresponding Java types to make it easier to track the root cause. In addition, we can change current checks replacing assertions with DEBUG log messages to avoid hard failures out of the box. The decision for a hard failure is instead deferred to the application with #672.
The text was updated successfully, but these errors were encountered: