-
Notifications
You must be signed in to change notification settings - Fork 213
Get rid of more base tags #6756
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
Conversation
No other simple tag derived from a base tag defines this alias.
nilsdeppe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can squash
| struct ObserveCentersBase : db::BaseTag {}; | ||
|
|
||
| /// Simple tag for whether to write the centers of the horizons to disk. | ||
| /// Currently this tag is not creatable by options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line of the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked that this was done :)
This will allow removal of base tags whose derived simple tags share the same type, but differ in how they are created from option tags. The former base tag will become the simple tag with a type alias `type` to the common type. The former derived simple tags will no longer be derived from db::SimpleTag, no longer have a type alias `type`, but now have a type alias `base` to the former base tag.
Proposed changes
Eliminate several uses of base tags whose derived simple tags had the same
typealias.basetype alias. This allows choosing at compile time one of the different methods that a simple tag can be created from options.Upgrade instructions
Code review checklist
make docto generate the documentation locally intoBUILD_DIR/docs/html.Then open
index.html.code review guide.
bugfixornew featureif appropriate.Further comments