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: remove unnecessary nesting of get order details response #64

Merged
merged 6 commits into from
May 21, 2024

Conversation

sourabhxyz
Copy link
Member

@sourabhxyz sourabhxyz commented May 20, 2024

Closes #62, #63. See linked issues for more details.

Also adds bot variant of multi fill endpoint.

@sourabhxyz sourabhxyz changed the title TBW fix: remove unnecessary nesting of get order details response May 20, 2024
@@ -376,8 +376,7 @@ type OrdersAPI =
:> Description "Get details of an order using it's unique NFT token. Note that each order is identified uniquely by an associated NFT token which can then later be used to retrieve it's details across partial fills."
:> "details"
:> Capture "nft-token" GYAssetClass
:> Throws PodOrderNotFound
:> Get '[JSON] OrderInfoDetailed
:> UVerb 'GET '[JSON] '[WithStatus 200 OrderInfoDetailed, WithStatus 404 PodOrderNotFound]
Copy link
Member Author

Choose a reason for hiding this comment

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

Have made a move from servant-checked-exceptions to the approach mentioned here.

@sourabhxyz sourabhxyz marked this pull request as ready for review May 20, 2024 09:43
@sourabhxyz sourabhxyz requested a review from a team as a code owner May 20, 2024 09:43
@sourabhxyz sourabhxyz linked an issue May 20, 2024 that may be closed by this pull request
Copy link
Contributor

@ajuggler ajuggler left a comment

Choose a reason for hiding this comment

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

Reviewed.

@ajuggler ajuggler merged commit f879637 into main May 21, 2024
2 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.

Link Atlas documentation for provider configuration Order details response is nested under data field
2 participants