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

Handling numeric values for EntityId query parameters #9009

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

mgoelswirlds
Copy link
Member

Description:

This PR fixes rest-java nft allowance controller to accept numeric entity id in URL params.

This PR modifies ...

  • EntityId to handle numeric entity not in the shard.realm.num format

Related issue(s):

Fixes #8357

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@mgoelswirlds mgoelswirlds self-assigned this Aug 12, 2024
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.25%. Comparing base (a4e744b) to head (39a8108).
Report is 24 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9009      +/-   ##
============================================
- Coverage     92.35%   92.25%   -0.10%     
- Complexity     7515     7535      +20     
============================================
  Files           909      911       +2     
  Lines         30237    30305      +68     
  Branches       3699     3710      +11     
============================================
+ Hits          27924    27958      +34     
- Misses         1491     1516      +25     
- Partials        822      831       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mgoelswirlds mgoelswirlds added bug Type: Something isn't working rest-java Area: Java REST API labels Aug 12, 2024
@mgoelswirlds mgoelswirlds added this to the 0.112.0 milestone Aug 12, 2024
@steven-sheehy steven-sheehy added enhancement Type: New feature and removed bug Type: Something isn't working labels Aug 12, 2024
@mgoelswirlds mgoelswirlds marked this pull request as ready for review August 12, 2024 19:52
@mgoelswirlds mgoelswirlds requested a review from a team August 13, 2024 13:47
jascks
jascks previously approved these changes Aug 13, 2024
Copy link
Contributor

@jascks jascks left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: mgoelswirlds <[email protected]>
Copy link

Copy link
Member

@steven-sheehy steven-sheehy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jascks jascks left a comment

Choose a reason for hiding this comment

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

LGTM

@mgoelswirlds mgoelswirlds merged commit b6f1a14 into main Aug 15, 2024
29 checks passed
@mgoelswirlds mgoelswirlds deleted the 8357-nft-allowance-numeric-parameter branch August 15, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature rest-java Area: Java REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RestJava nft allowance controller doesn't accept numeric entity id in URL params
3 participants