Skip to content
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

Added logic for graphql API #405

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open

Added logic for graphql API #405

wants to merge 15 commits into from

Conversation

kharanenka
Copy link
Contributor

No description provided.

'name' => Type::string(),
'description' => Type::string(),
'percent' => Type::float(),
'category_id_list' => CustomType::array(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Здесь в значении будет всегда массив из ID, поэтому я бы сделал значение типа как
Type::listOf(Type::id())

Copy link
Contributor

Choose a reason for hiding this comment

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

@igor-tv igor-tv self-requested a review May 13, 2022 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants