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

Support dispatching Pydantic model; Support implicit event name #53

Merged
merged 9 commits into from
Jan 9, 2024

Conversation

melvinkcx
Copy link
Owner

@melvinkcx melvinkcx commented Jan 6, 2024

  • modified the schema registry to allow the event name to be derived from the payload schema
  • modified the dispatcher to allow dispatching of events with Pydantic model
    • ensure OTEL support,
    • ensure FASTAPI_EVENTS_DISABLE_DISPATCH is still respected
  • added more test cases
  • updated README

Closes #50

@melvinkcx melvinkcx changed the title [WIP] support implicit event name support implicit event name Jan 6, 2024
@melvinkcx melvinkcx changed the title support implicit event name Support dispatching Pydantic model; Support implicit event name Jan 7, 2024
@melvinkcx melvinkcx merged commit 38a0ca1 into dev Jan 9, 2024
6 checks passed
@melvinkcx melvinkcx deleted the feat/support_implicit_event_name branch January 9, 2024 02:37
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.

Register event payload class and event in 1
1 participant