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

Allow IDs with reserved keywords #11

Open
niekdt opened this issue Aug 3, 2024 · 1 comment
Open

Allow IDs with reserved keywords #11

niekdt opened this issue Aug 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@niekdt
Copy link
Owner

niekdt commented Aug 3, 2024

The ID for some actions happens to be a reserved keyword.

While this could be detected and handled automatically, it's easier for now to support using underscores which are filtered out afterwards.

[format.link._source]
action = "Specify source"
code = "@source This dataset was generated using [generateData]"

would then become entry ID format.link.source after processing

@niekdt niekdt added the enhancement New feature or request label Aug 3, 2024
@niekdt
Copy link
Owner Author

niekdt commented Aug 3, 2024

#13 is a workaround until this is implemented. There are anyway cases where this workaround is the only way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant