-
Notifications
You must be signed in to change notification settings - Fork 82
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
feat: add uiGraphQLApi module #310
Conversation
|
||
export class graphql extends createTestWireAdapter() { | ||
static emit(value, filterFn) { | ||
super.emit({ data: value, errors: undefined }, filterFn); |
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.
Is this required? errors: undefined
. The default value for unset object keys is undefined
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.
I'm not really sure - but it's what our stub in lightning-components has
Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com>
* feat: add uiGraphQLApi module * fix format * Update src/lightning-stubs/uiGraphQLApi/uiGraphQLApi.js Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com> --------- Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com>
* feat: add uiGraphQLApi module * fix format * Update src/lightning-stubs/uiGraphQLApi/uiGraphQLApi.js Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com> --------- Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com>
* feat: add uiGraphQLApi module (#310) * feat: add uiGraphQLApi module * fix format * Update src/lightning-stubs/uiGraphQLApi/uiGraphQLApi.js Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com> --------- Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com> * fix: fix initial emit for GraphQL adapters (#315) --------- Co-authored-by: Stephen Carraway <57263085+scarrawaySF@users.noreply.github.com> Co-authored-by: Ravi Jayaramappa <ravi.jayaramappa@salesforce.com>
Re-exporting the uiGraphQLApi module for testing.