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

Another attempt at state access #25

Closed
wants to merge 4 commits into from
Closed

Another attempt at state access #25

wants to merge 4 commits into from

Conversation

paddycarver
Copy link
Contributor

Spitball on what retrieving state in a way that lets users access it
with types and no type assertions may look like.

Start building out the schema type, leaving some TODOs for things I'm
still mulling over and thinking about.

This also brings in the StringKind type, which is a pattern I'm not
thrilled about and we should probably think about it some more.

I also included the AttributeType and AttributeValue types, which I'll
add a package with some builtins for in a future commit, to show off how
they're used.
Add implementations of lists and strings, so we can see what an actual
type may look like under this system, and to make sure that complex
types still work under this system.
Spitball on what retrieving state in a way that lets users access it
with types and no type assertions may look like.
@paddycarver paddycarver mentioned this pull request May 19, 2021
@kmoe kmoe mentioned this pull request May 25, 2021
6 tasks
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2021
@bflad bflad deleted the paddy_state_as branch January 11, 2023 17:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant