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

fix: #588, #384 non-null list items & connection nullability #598

Merged
merged 2 commits into from Nov 2, 2020

Conversation

tgriesser
Copy link
Member

Fixes #588 by ensuring that list items follow nonNullDefaults, which was lost in the #508 refactor

Fixes #384 by removing explicit nullability config from the connection edges definition, and also allowing nonNullDefaults to be supplied for the connection "types" generated by the creation of a connection field. Allows you to configure both globally in the connection plugin field config, and when the connection field is defined.

@codecov
Copy link

codecov bot commented Nov 2, 2020

Codecov Report

Merging #598 into develop will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #598      +/-   ##
===========================================
+ Coverage    93.45%   93.46%   +0.01%     
===========================================
  Files           39       39              
  Lines         2429     2433       +4     
  Branches       502      505       +3     
===========================================
+ Hits          2270     2274       +4     
  Misses         159      159              

Copy link
Member

@jasonkuhrt jasonkuhrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tgriesser tgriesser changed the title fix: #588, #384 non-null list items & connection field nullability config fix: #588, #384 non-null list items & connection nullability Nov 2, 2020
@tgriesser tgriesser merged commit 0064dc9 into develop Nov 2, 2020
@tgriesser tgriesser deleted the tgriesser/fix/issue-588-nonNullListItem branch November 2, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

t.list.field doesn't obey nonNullDefaults Ability to specify nullability of connectionPlugin output
2 participants