-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Feature & Trait Choices #380
Conversation
This is good, and it was well needed. Your correction regarding the previous PR is accurate and makes the naming more consistent regarding previous changes (removing "Choose:" rather than adding it, even though we should go further on that topic). I no longer want this PR to be split into several different as it does two things but does them well. Since the PR is in draft mode, I cannot approve it in the GitHub sense of it, but I'm approving it here in written. Given the large amount of commits, I believe that this PR should be squash-merged. What's your opinion on this? |
All multi-commit PRs in this repo are squashed by default, anyway, are they not? |
@fergcb @ogregoire That is correct. All PRs are |
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.
Double approve since @ogregoire approved it too.
What does this do?
group
attribute with theparent
attribute. Its type is APIReference, and it points to the parent feature.choice
attribute into Feature'sfeature_specific
attribute. Also renames it (either tosubfeature_options
,expertise_options
,spell_options
ortrait_options
for trait equivalents.rogue-choose-expertise
andbard-choose-expertise
to proficiency.draconic_ancestry
's feature specific. Also includesdraconic_ancestry
's damage type and breath weapon action undertrait_specific
These changes were discussed in the API Discord between myself and @fergcb with some input from @bagelbits and @ogregoire in a different draft PR.
Discord discussion link: https://discord.com/channels/656547667601653787/656547667601653790/861810226541625395
Old draft PR link: #378
How was it tested?
Database was run locally on machine. Was built from remote git branch and ran tests according to api documentation (unit test, integration and controllers).
Is there a Github issue this is resolving?
No.
Did you update the docs in the API? Please link an associated PR if applicable.
Yes, 5e-bits/5e-srd-api#226
Here's a fun image for your troubles