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

Add support for sub-states #780

Open
stephenh opened this issue Sep 11, 2023 · 0 comments
Open

Add support for sub-states #780

stephenh opened this issue Sep 11, 2023 · 0 comments
Labels
hack day seems doable in a hack day

Comments

@stephenh
Copy link
Collaborator

Sometimes we'll have "sub-statuses" like:

  • AuthorStatus.MANUAL
  • AuthorStatus.AUTO_FOO
  • AuthorStatus.AUTO_BAR

And it'd be nice to have helper methods like isAuto for "either sub-state AUTO_FOO or sub-state AUTO_BAR".

Maybe we could use extra columns to make the sub-states official, instead of just guessing the naming convention. Or joist-codegen.json. Not sure.

@stephenh stephenh added the hack day seems doable in a hack day label Sep 11, 2023
@stephenh stephenh changed the title Add support for sub-statues Add support for sub-states Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hack day seems doable in a hack day
Projects
None yet
Development

No branches or pull requests

1 participant