Skip to content

State::new() now uses the configured ID type#214

Open
samlev wants to merge 2 commits into
hirethunk:mainfrom
samlev:feature/state_new
Open

State::new() now uses the configured ID type#214
samlev wants to merge 2 commits into
hirethunk:mainfrom
samlev:feature/state_new

Conversation

@samlev

@samlev samlev commented May 12, 2025

Copy link
Copy Markdown

Calling SomeState::new() was previously always using snowflake()->make() regardless of the configured id_type.

This PR alters the State base class to use the ID manager to generate new IDs.

@tsterker

Copy link
Copy Markdown
Contributor

@samlev I believe we would also need to leverage the IdManager for the StateId autofill.

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

Successfully merging this pull request may close these issues.

2 participants