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

🎨 improve record querying logic #3083

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

ff137
Copy link
Contributor

@ff137 ff137 commented Jul 4, 2024

Minor amendments that I wanted to include before #3082 was merged.

Expands error handling for the unlikely case where json.loads fails, and improves readability / reduces complexity of nested if conditions.

ff137 added 2 commits July 5, 2024 00:54
Signed-off-by: ff137 <ff137@proton.me>
Signed-off-by: ff137 <ff137@proton.me>
Copy link

sonarcloud bot commented Jul 4, 2024

Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

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

👍 Much more readable

@jamshale jamshale merged commit 314062b into hyperledger:main Jul 4, 2024
8 checks passed
@ff137 ff137 deleted the art/improve-record-query branch July 4, 2024 23:12
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.

2 participants