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

fix(fuel-streams-subject): Add alias and validate payload conversion #411

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

pedronauck
Copy link
Collaborator

@pedronauck pedronauck commented Feb 20, 2025

This PR ensures the conversion from SubjectPayload into Subject is valid. Before this an invalid params: {} object could be passed in the webserver and nothing was happening, now the validation in happening and we introduce a subject(alias = "") to determine which other name a field can have when validating (like serde does)

rodrigobranas
rodrigobranas previously approved these changes Feb 20, 2025
0xterminator
0xterminator previously approved these changes Feb 20, 2025
Copy link
Contributor

@0xterminator 0xterminator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@pedronauck pedronauck merged commit c0d56da into main Feb 21, 2025
33 checks passed
@pedronauck pedronauck deleted the pn/subject-alias branch February 21, 2025 18:26
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.

3 participants