Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Expand createEmptyCart mutation #607

Closed
naydav opened this issue Apr 12, 2019 · 4 comments
Closed

Expand createEmptyCart mutation #607

naydav opened this issue Apr 12, 2019 · 4 comments
Assignees
Labels
Contribution Day Tickets is good for start on Contribution Day good first issue Good for newcomers

Comments

@naydav
Copy link
Contributor

naydav commented Apr 12, 2019

Examples:
https://github.com/magento/graphql-ce/blob/2.3-develop/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/CreateEmptyCartTest.php

https://github.com/magento/graphql-ce/blob/2.3-develop/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest/CreateEmptyCartTest.php

@naydav naydav added good first issue Good for newcomers Contribution Day Tickets is good for start on Contribution Day labels Apr 12, 2019
@naydav naydav added this to the Release: 2.3.2 milestone Apr 12, 2019
@bohdan-harniuk bohdan-harniuk self-assigned this Apr 13, 2019
@anzin anzin self-assigned this Apr 13, 2019
anzin pushed a commit to anzin/graphql-ce that referenced this issue Apr 13, 2019
anzin pushed a commit to anzin/graphql-ce that referenced this issue Apr 13, 2019
@anzin
Copy link

anzin commented Apr 15, 2019

@naydav, can you help me ?
How to validate cart_id? The length should be equal to 32, as in the standard implementation: http://joxi.ru/Dr8M0GMtozdgEm ? Or can it be smaller?

bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 15, 2019
…ty cart with specified "cart_id", specified "cart_id" NOT unique
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
…ntation by using data provider for validation
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
bohdan-harniuk pushed a commit to anzin/graphql-ce that referenced this issue Apr 16, 2019
@naydav
Copy link
Contributor Author

naydav commented Apr 16, 2019

@naydav, can you help me ?
How to validate cart_id? The length should be equal to 32, as in the standard implementation: http://joxi.ru/Dr8M0GMtozdgEm ? Or can it be smaller?

yes + \w\d+
Thanks

@anzin
Copy link

anzin commented Apr 17, 2019

@naydav , Thanks a lot for your help

naydav pushed a commit to anzin/graphql-ce that referenced this issue Apr 19, 2019
naydav pushed a commit to anzin/graphql-ce that referenced this issue Apr 19, 2019
@naydav
Copy link
Contributor Author

naydav commented Apr 22, 2019

#610

@naydav naydav closed this as completed Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Contribution Day Tickets is good for start on Contribution Day good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants