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

Support deprecated in option pragmas #62

Open
arnetheduck opened this issue Jan 4, 2023 · 0 comments
Open

Support deprecated in option pragmas #62

arnetheduck opened this issue Jan 4, 2023 · 0 comments

Comments

@arnetheduck
Copy link
Member

Sometimes a flag is removed from the UX after being made obsolete - similar to hidden, it should be possible to mark an option deprecated so that it's still parsed, but allowing the code to use the deprecation features of the language and potentially notify the user that the flag will no longer parse correctly in future releases.

See https://github.com/status-im/nimbus-eth2/blob/aff0505807ed81d7ca1677117dcfa9b30707eb50/beacon_chain/nimbus_beacon_node.nim#L1775 for examples.

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

No branches or pull requests

1 participant