Skip to content

Create order mutation#114

Merged
ChristianRimondi merged 3 commits intomasterfrom
create-order-mutation
May 22, 2020
Merged

Create order mutation#114
ChristianRimondi merged 3 commits intomasterfrom
create-order-mutation

Conversation

@ChristianRimondi
Copy link
Copy Markdown
Contributor

@ChristianRimondi ChristianRimondi commented May 15, 2020

Add mutation to create a new order linked to the current_user (if any) and the current_store.

It raises a CanCan::AccessDenied exception in case the current ability can't create an order.

@ChristianRimondi ChristianRimondi self-assigned this May 15, 2020
@ChristianRimondi ChristianRimondi force-pushed the create-order-mutation branch from dc274e5 to 46b2e6c Compare May 22, 2020 11:19
The mutation creates a new order linked to the current_user (if any) and
the current_store.

It raises a CanCan::AccessDenied exception in case the current ability
can't create an order.
Using command "bundle exec rake schema:idl"
@ChristianRimondi ChristianRimondi force-pushed the create-order-mutation branch from 46b2e6c to e76fddb Compare May 22, 2020 11:25
@ChristianRimondi ChristianRimondi marked this pull request as ready for review May 22, 2020 11:40
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Copy Markdown
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

👍

@ChristianRimondi ChristianRimondi merged commit 7f185de into master May 22, 2020
@ChristianRimondi ChristianRimondi deleted the create-order-mutation branch May 22, 2020 12:17
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.

3 participants