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

refactor: make the node in relay edges non-null #95

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

barnabasJ
Copy link
Contributor

@barnabasJ barnabasJ commented Oct 3, 2023

I had to do some front-end work today and felt like this would be better. The spec doesn't say if it has to be nullable or non-nullable. Same with the Edge, I don't think it would make sense to have null values as edges.

I couldn't think of a situation where we would actually return null for a node, pls correct me if I'm wrong.

@barnabasJ barnabasJ added the enhancement New feature or request label Oct 3, 2023
@barnabasJ barnabasJ self-assigned this Oct 3, 2023
@barnabasJ barnabasJ marked this pull request as ready for review October 3, 2023 10:23
@barnabasJ barnabasJ requested a review from zachdaniel October 3, 2023 10:23
zachdaniel
zachdaniel previously approved these changes Oct 3, 2023
@zachdaniel
Copy link
Contributor

Oh, wait I think you've used list instead of non null 😂

@barnabasJ
Copy link
Contributor Author

Oh, wait I think you've used list instead of non null 😂

Oh, yeah, copy paste 🤦‍♂️ will fix

@zachdaniel zachdaniel merged commit 34fd313 into main Oct 3, 2023
13 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants