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

feat: Connection plugin features & fixes #674

Merged
merged 6 commits into from Nov 27, 2020

Conversation

tgriesser
Copy link
Member

Fix: #450 custom edge fields are not being resolved
feat: #515 allow connection plugin cursor to be non-string type
feat: #399, add requireResolver: false to skip requiring global extension fields
feat: #479, allow promise to be returned from pageInfoFromNodes
feat: #456, export connection plugin args

@codecov
Copy link

codecov bot commented Nov 25, 2020

Codecov Report

Merging #674 (6220d85) into develop (2dd90b4) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #674      +/-   ##
===========================================
+ Coverage    93.62%   93.63%   +0.01%     
===========================================
  Files           44       44              
  Lines         2869     2877       +8     
  Branches       670      676       +6     
===========================================
+ Hits          2686     2694       +8     
  Misses         181      181              
  Partials         2        2              

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.

Suggestion:

Let's rebase the commit messages to be conventional commit compliant, then rebase-merge so that each change here shows up as a line item in the release notes

t2.field(key, val)
t2.field(key, {
...val,
resolve: (fieldConfig as any).edgeFields?.[key] ?? defaultFieldResolver,
Copy link
Member

@Weakky Weakky Nov 26, 2020

Choose a reason for hiding this comment

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

I fixed the pluginExtendConnection but forgot that one indeed in #569 🤦‍♂️ (minus the defaultFieldResolver fallback 🙈)

Copy link
Member

@Weakky Weakky left a comment

Choose a reason for hiding this comment

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

Looks all good to me 👍 - Jason's suggestion would be great so that dripip can properly format the release notes

@tgriesser tgriesser force-pushed the tgriesser/feat/connection-fixes-450-515 branch from 4b9f850 to 6220d85 Compare November 27, 2020 18:09
@tgriesser tgriesser merged commit 6220d85 into develop Nov 27, 2020
@tgriesser tgriesser deleted the tgriesser/feat/connection-fixes-450-515 branch November 27, 2020 18:13
@tgriesser
Copy link
Member Author

Done. Merged as rebase into develop

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.

ConnectionPlugin extend connection globally not working as documented
3 participants