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

graphQl-352: is email available #356

Merged
merged 3 commits into from
Feb 21, 2019

Conversation

VitaliyBoyko
Copy link
Contributor

Description (*)

Is email available coverage.

Query:

{
  isEmailAvailable(email: "[email protected]") {
    is_email_available
  }
}

Response:

{
  "data": {
    "isEmailAvailable": {
      "is_email_available": true
    }
  }
}

Fixed Issues (if relevant)

  1. Add query isEmailAvailable on customer registration #352: Add query isEmailAvailable on customer registration

/**
* Is Customer Email Available checker
*/
class IsEmailAvailableDataProvider
Copy link
Contributor

Choose a reason for hiding this comment

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

Hello @VitaliyBoyko,
Looks like in this case we don't need a class wrapper
we can call AccountManagementInterface directly in our resolver
Thanks

Vitaliy Boyko added 2 commits February 20, 2019 10:25
…github.com:magento/graphql-ce into GraphQL-352-is-email-available
@ghost
Copy link

ghost commented Feb 21, 2019

Hi @VitaliyBoyko, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@keharper
Copy link
Contributor

Documented in magento/devdocs#4556

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants