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

demonstrate removal of TaggedFieldNode #3826

Closed
wants to merge 7 commits into from

Conversation

yaacovCR
Copy link
Contributor

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

@netlify
Copy link

netlify bot commented Jan 14, 2023

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
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
Contributor Author

consolidating into #3844

@yaacovCR yaacovCR closed this Feb 13, 2023
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.

None yet

1 participant