Skip to content

Add --metadataDecorator option #43542

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

Closed
wants to merge 2 commits into from
Closed

Add --metadataDecorator option #43542

wants to merge 2 commits into from

Conversation

rbuckton
Copy link
Member

@rbuckton rbuckton commented Apr 6, 2021

Adds two options:

  • --metadataDecorator <name> — Provides a user-defined entity name to use in place of the __metadata decorator.
    • NOTE: Requires --experimentalDecorators and --emitDecoratorMetadata.
  • --metadataDecoratorImportSource <string> — Provides the name of a package from which to import the decorator above. If not specified, the name provided to --metadataDecorator is assumed to either be global or have already been imported.
    • NOTE: Requires --experimentalDecorators, --emitDecoratorMetadata, and --metadataDecorator.

Fixes #43463

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 6, 2021
@rbuckton rbuckton requested a review from sheetalkamat April 6, 2021 01:01
# Conflicts:
#	src/compiler/diagnosticMessages.json
Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

Do we still want this, or was our conclusion that you should just use an SES-safe tslib fork and importHelpers?

@sandersn
Copy link
Member

sandersn commented Apr 1, 2025

This PR is quite old, so I'm going to close it and we can re-evaluate later, probably once Corsa is done.

@sandersn sandersn closed this Apr 1, 2025
@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Done in PR Backlog Apr 1, 2025
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SES compatibility for '--emitDecoratorMetadata'
6 participants