Skip to content
New issue

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

query products > Getting "Cannot return null for non-nullable field SecuredProductMediums.value." error #868

Closed
iPiyushPatel opened this issue Jul 31, 2020 · 2 comments · Fixed by #875
Assignees
Labels
bug Something isn't working
Milestone

Comments

@iPiyushPatel
Copy link
Contributor

Describe the bug
query products > Getting "Cannot return null for non-nullable field SecuredProductMediums.value." error

Steps to Reproduce
On Graphql playground or Postman - create an API request as below snap & attached notepad file and execute the request.

Expected Result
Products list should be returned.

Actual Result
Getting "Cannot return null for non-nullable field SecuredProductMediums.value." error.
See video - https://drive.google.com/file/d/1tk17oCjv1ByAEa7otsFOceHTpLPm4Tz9/view?usp=drivesdk

GraphQL Query ( products - Error ):
image

GraphQL Query ( products ):
image

Query and Input File
products_medimsNullable_ERR.txt

CordAPIV3# e33b292

@michaelmarshall michaelmarshall added the bug Something isn't working label Jul 31, 2020
@tjgersho tjgersho self-assigned this Aug 3, 2020
@tjgersho tjgersho linked a pull request Aug 4, 2020 that will close this issue
@reneepe
Copy link
Contributor

reneepe commented Aug 5, 2020

Bug verified. "Cannot return null for non-nullable field SecuredProductMediums.value" error occurs when including mediums in the query.
image.png

No error occurs when mediums isn't included.
image.png

@tjgersho
Copy link
Contributor

tjgersho commented Aug 6, 2020

Should be fixed on the master branch now

@tjgersho tjgersho closed this as completed Aug 6, 2020
@reneepe reneepe added this to the Sprint 14 milestone Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants