Skip to content

Fix raw response type of @semanticNonNull field in inline fragment #4950

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tobias-tengler
Copy link
Contributor

@tobias-tengler tobias-tengler commented Apr 10, 2025

Fixes #4949

@tobias-tengler tobias-tengler force-pushed the fix-semantic-types-on-raw-response-type-inline-fragment branch from 60d9760 to 101d5f6 Compare April 10, 2025 13:37
@tobias-tengler
Copy link
Contributor Author

The compiler output check failing due to RelayClient3DModuleTestQuery seems unrelated to my change (it also fails on main).

@tobias-tengler tobias-tengler force-pushed the fix-semantic-types-on-raw-response-type-inline-fragment branch from 101d5f6 to 3e7bd39 Compare April 22, 2025 07:48
@tobias-tengler
Copy link
Contributor Author

@captbaritone Sorry for the ping, but could you guys take a look at this? It would make our migration to @semanticNonNull a lot smoother :)
I can't reproduce the CI test failures locally and they also seem to exist on main...

@facebook-github-bot
Copy link
Contributor

@captbaritone has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@captbaritone
Copy link
Contributor

Thanks for the fix, and the ping!

@captbaritone
Copy link
Contributor

I'm actually not sure this approach is correct. Left a comment here: #4949 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Raw response type of @semanticNonNull field is different when selected in a type refinement with @throwOnFieldError
3 participants