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

refactor(schema_derive): use error emitter instead of bailing out early #5131

Merged

Conversation

DCNick3
Copy link
Contributor

@DCNick3 DCNick3 commented Oct 7, 2024

This PR does applies a refactor to use an error emitter instead of bailing early in the iroha_schema derive macros, like was done in #3897.

The second commit is just a drive-by refactor removing some code duplication in where clause generation.

This is in preparation for a PR adding smart trait bound derivation (#5130).

@mversic mversic force-pushed the use-emitter-in-iroha-schema-derive branch from 9969f06 to 60d1cd9 Compare October 8, 2024 05:11
@mversic mversic merged commit 2ecd1cc into hyperledger-iroha:main Oct 8, 2024
13 checks passed
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