-
Notifications
You must be signed in to change notification settings - Fork 328
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
Adds spp model get
command Closes #6105
#6409
Conversation
Thank you, well try to review it ASAP! |
4e27dc2
to
13ca6fd
Compare
I have converted it to draft, as there are some conflicts to be resolved. |
13ca6fd
to
83dcfdd
Compare
@mkm17 I added the |
83dcfdd
to
3483a1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice start @mkm17, let's change a few things before we proceed.
3483a1e
to
7d3db71
Compare
@milanholemans thank you again for the review. I believe I have addressed all the suggested changes. I have one question regarding the tests: I updated it to |
Is there a reason why we stringify everything instead of using |
7d3db71
to
8caeee1
Compare
@milanholemans I saw this method somewhere in the code, but definitely it is a much better idea. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's looking good, we're almost there.
8caeee1
to
bb89289
Compare
@milanholemans Thank you for the review. The changes have been applied to the new version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from one tiny enhancement, it looks good to me.
<Tabs> | ||
<TabItem value="JSON"> | ||
|
||
```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This response is looking gigantic right now. Let's try to trim it down a bit by:
- For arrays, let's show only 1 object in the array.
- Right now, we have multiple fields in the model like: address, discount percentage, date of change, ... Let's show only one of those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@milanholemans ok, it is done now, the response should be shorter :)
bb89289
to
2d71fdb
Compare
Merged manually, thanks! |
Adds
spp model get
command Closes #6105