We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for 'AbstractGraphQlModel' -> _errorsAsMap method is not implemented to handle collection :
if (o instanceof AbstractGraphQlModel<?> graphQlModel) { Map<String, Object> errorsAsMap = graphQlModel._errorsAsMap(); if (!errorsAsMap.isEmpty()) { if (map == null) { map = new LinkedHashMap(); } map.put(s, errorsAsMap); } }
Should be implemented as below :
dataModel._values().forEach((key, value) -> { if (value instanceof Collection<?> collection) { processCollectionErrors(errorMap, key, collection); } else if (value instanceof AbstractGraphQlModel<?> nestedModel) { processModelErrors(errorMap, key, nestedModel); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
for 'AbstractGraphQlModel' -> _errorsAsMap method is not implemented to handle collection :
Should be implemented as below :
The text was updated successfully, but these errors were encountered: