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

data-generator-retail - rename commands to orders #9800

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Apr 29, 2024

No description provided.

@fzaninotto
Copy link
Member

there are still instances of command_id in the demo, as well as instances of the 'commands' keyword

Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

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

When I test the demo in this branch, any request for the orders returns an empty response.

@djhi
Copy link
Collaborator Author

djhi commented Apr 29, 2024

When I test the demo in this branch, any request for the orders returns an empty response.

Run the demo once with vite --force to ensure you don't use a cached version of data-generator-retail

@@ -15,7 +15,7 @@ const getGqlResource = (resource: string) => {
case 'categories':
return 'Category';

case 'commands':
case 'orders':
return 'Command';
Copy link
Contributor

Choose a reason for hiding this comment

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

question: shouldn't we return Order as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed 👌

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@adguernier adguernier merged commit b3c3381 into next Apr 30, 2024
12 checks passed
@adguernier adguernier deleted the data-generator-orders branch April 30, 2024 07:48
@fzaninotto fzaninotto added this to the 5.0.0 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants