Skip to content

Comments

feat(ast_tools): add #[estree(no_flatten)] attr for struct fields#9446

Merged
graphite-app[bot] merged 1 commit intomainfrom
02-28-feat_ast_tools_add_estree_no_flatten_attr_for_struct_fields
Feb 28, 2025
Merged

feat(ast_tools): add #[estree(no_flatten)] attr for struct fields#9446
graphite-app[bot] merged 1 commit intomainfrom
02-28-feat_ast_tools_add_estree_no_flatten_attr_for_struct_fields

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Feb 28, 2025

Add an #[estree(no_flatten)] attribute which can be used on a struct field to override an #[estree(flatten)] attribute on the type of the field. e.g. if you want to not flatten a Span.

Copy link
Member Author

overlookmotel commented Feb 28, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@graphite-app
Copy link
Contributor

graphite-app bot commented Feb 28, 2025

Merge activity

…9446)

Add an `#[estree(no_flatten)]` attribute which can be used on a struct field to override an `#[estree(flatten)]` attribute on the type of the field. e.g. if you want to *not* flatten a `Span`.
@graphite-app graphite-app bot force-pushed the 02-28-feat_ast_tools_add_estree_no_flatten_attr_for_struct_fields branch from e08b383 to c959da2 Compare February 28, 2025 18:37
@graphite-app graphite-app bot merged commit c959da2 into main Feb 28, 2025
15 checks passed
@graphite-app graphite-app bot deleted the 02-28-feat_ast_tools_add_estree_no_flatten_attr_for_struct_fields branch February 28, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-ast-tools Area - AST tools C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant