Skip to content

Conversation

@JamesArruda
Copy link
Collaborator

State defaults are inferred from types now, making valid_types unnecessary.

Closes #10

@JamesArruda JamesArruda linked an issue Jul 31, 2025 that may be closed by this pull request
@JamesArruda
Copy link
Collaborator Author

Leaving this one in a failing state for now. Realizing with the tests that anything more than a top-level check of simple types is going to be a lot of effort. Even list[int] or tuple[int,...] kinds of things adds complexity I'm not sure is needed.

  • Decide how far to take the type checking on state creation
  • Decide if it should still happen on every assignment or just on initialization
  • Split the MockEnvironment and other side things in this ticket off for a different MR.

@JamesArruda JamesArruda added invalid This doesn't seem right future Check back in the future labels Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

future Check back in the future invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infer state defaults from typing

2 participants