Skip to content

Commit 943bf46

Browse files
committed
[GraphQl] Improve code, change readme file and add i18n file
1 parent 5203b59 commit 943bf46

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

Model/Resolver/AbstractAttributes.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,8 @@
3333
* Class AbstractAttributes
3434
* @package Mageplaza\CustomerAttributesGraphQl\Model\Resolver
3535
*/
36-
class AbstractAttributes implements ResolverInterface
36+
abstract class AbstractAttributes implements ResolverInterface
3737
{
38-
/**
39-
* @inheritdoc
40-
*/
41-
public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)
42-
{
43-
// TODO: Implement resolve() method.
44-
}
45-
4638
/**
4739
* @param array $args
4840
*

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ To perform GraphQL queries in Magento, please do the following requirements:
2828
- [Customer Attributes API & examples](https://documenter.getpostman.com/view/10589000/T1DqgH2g?version=latest)
2929
- [Customer Attributes GraphQL & examples](https://documenter.getpostman.com/view/10589000/TVYJ5GmN)
3030

31-
Click on Run in Postman for add these collections to your workspace quickly.
32-
33-
![Magento 2 customer attributes graphql pwa](https://imgur.com/0lz0vMU.gif)
34-
3531

3632
## 4. Contribute to this module
3733

i18n/en_US.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"currentPage value must be greater than 0.","currentPage value must be greater than 0."
2+
"pageSize value must be greater than 0.","pageSize value must be greater than 0."
3+
"currentPage value %1 specified is greater than the %2 page(s) available.","currentPage value %1 specified is greater than the %2 page(s) available."

0 commit comments

Comments
 (0)