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

Nextgen Playground #62

Draft
wants to merge 71 commits into
base: master
Choose a base branch
from
Draft

Nextgen Playground #62

wants to merge 71 commits into from

Conversation

AlecRosenbaum
Copy link
Contributor

@AlecRosenbaum AlecRosenbaum commented Aug 5, 2021

WIP just playing around with some fun new patterns.

Goals of nextgen:

  • support (but not require) passing around a context (to avoid global state checking)
    • context pattern must be compatible with sqlalchemy-based session management. i.e. pass in a session when validating
  • composable/reusable fields and field validation logic
  • annotation-based declarations for simple fields
  • operate on/with type-checked objects that have good IDE/autocomplete support
  • expose a type-checked interface
  • cleanly support intra-schema field dependencies (i.e. one field can depend on the validated value of another)

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.

1 participant