Skip to content

demonstrate removal of TaggedFieldNode - #3826

Closed
yaacovCR wants to merge 7 commits into
graphql:mainfrom
yaacovCR:hoist-depth
Closed

demonstrate removal of TaggedFieldNode#3826
yaacovCR wants to merge 7 commits into
graphql:mainfrom
yaacovCR:hoist-depth

Conversation

@yaacovCR

Copy link
Copy Markdown
Contributor

less repetition, but takes another destructuring to get at the fields within a field set....

@netlify

netlify Bot commented Jan 14, 2023

Copy link
Copy Markdown

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 11447b5
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/63e0fa717ee40800090b98eb
😎 Deploy Preview https://deploy-preview-3826--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@yaacovCR
yaacovCR force-pushed the hoist-depth branch 9 times, most recently from b1882c2 to c675033 Compare January 15, 2023 20:07
@yaacovCR yaacovCR changed the title demonstrate hoisting depth out of TaggedFieldNode demonstrate removal of TaggedFieldNode Jan 16, 2023
@yaacovCR

Copy link
Copy Markdown
Contributor Author

This PR now demonstrates conversion of:

export type FieldGroup = ReadonlyArray<TaggedFieldNode>;

export interface TaggedFieldNode {
  fieldNode: FieldNode;
  depth: number;
  deferDepth: number | undefined;
}

to

export interface FieldGroup {
  depth: number;
  fields: Map<number | undefined, ReadonlyArray<FieldNode>>;
}

@yaacovCR

Copy link
Copy Markdown
Contributor Author

consolidating into #3844

@yaacovCR yaacovCR closed this Feb 13, 2023
@yaacovCR
yaacovCR deleted the hoist-depth branch September 5, 2024 11:44
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.

1 participant