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

magento/devdocs#: Resolvers. Add a tip about input/output types #4331

Merged
merged 7 commits into from
Jun 25, 2019

Conversation

atwixfirster
Copy link
Contributor

Purpose of this PR

This PR adds a tip about resolver input/output types.

Affected URLs

Thank you!

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.

@rogyar rogyar self-assigned this Apr 24, 2019
@rogyar rogyar added the Technical Updates to the code or processes that alter the technical content of the doc label Apr 24, 2019
@keharper keharper self-assigned this Apr 24, 2019
@keharper keharper added the xx2.3.1 Magento 2.3.1 changes label Apr 24, 2019
Copy link
Contributor

@keharper keharper left a comment

Choose a reason for hiding this comment

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

I think we can accept this PR now, with a few minor changes.

@@ -68,6 +68,32 @@ Syntax option | Description
`@resolver(class)` | The class of the resolver
`@doc(description)` | Describes the purpose of the mutation

{:.bs-callout .bs-callout-tip}
It's a good practice to define a separate types for input/output data. It bring additional extension points, so every input/output type can be extended by adding additional fields to the definition.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
It's a good practice to define a separate types for input/output data. It bring additional extension points, so every input/output type can be extended by adding additional fields to the definition.
It is a good practice to define separate types for input and output data. This practice permits additional extension points, so every input and output type can be extended by adding additional fields to the definition.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

Thank you, @keharper 👍

@keharper
Copy link
Contributor

running tests

@keharper keharper merged commit a30fd8c into magento:master Jun 25, 2019
@ghost
Copy link

ghost commented Jun 25, 2019

Hi @atwixfirster, 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

Thanks @atwixfirster !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Partner: Atwix partners-contribution PR created by Magento partner Technical Updates to the code or processes that alter the technical content of the doc xx2.3.1 Magento 2.3.1 changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants