Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_service): add parser option for unsafe decorators #4574

Merged
merged 3 commits into from
Jun 17, 2023

Conversation

ematipico
Copy link
Contributor

Summary

Closes #4573

Test Plan

I will add tests in the next PRs

Changelog

  • The PR requires a changelog line

Documentation

  • The PR requires documentation
  • I will create a new PR to update the documentation

@netlify
Copy link

netlify bot commented Jun 15, 2023

Deploy Preview for docs-rometools canceled.

Name Link
🔨 Latest commit 8decfff
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/648ae066ec42140008ddba71

@github-actions github-actions bot added the A-Project Area: project configuration and loading label Jun 15, 2023
pub jsx_quote_style: Option<QuoteStyle>,
/// When properties in objects are quoted. Defaults to asNeeded.
#[bpaf(long("quote-properties"), argument("preserve|as-needed"), optional)]
#[serde(skip_serializing_if = "Option::is_none")]
Copy link
Contributor

Choose a reason for hiding this comment

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

How does it work without skip_serializing_if? Does it use default value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, which is not ideal. Still, we don't use the serialization feature, but when we will, that's exactly what will happen.

@ematipico ematipico merged commit e7dfbce into main Jun 17, 2023
@ematipico ematipico deleted the feat/parser-option branch June 17, 2023 13:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Project Area: project configuration and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a new option inside the "javascript" section
2 participants