{"action":"opened","issue":{"url":"https://api.github.com/repos/magento/graphql-ce/issues/67","repository_url":"https://api.github.com/repos/magento/graphql-ce","labels_url":"https://api.github.com/repos/magento/graphql-ce/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/magento/graphql-ce/issues/67/comments","events_url":"https://api.github.com/repos/magento/graphql-ce/issues/67/events","html_url":"https://github.com/magento/graphql-ce/issues/67","id":325745748,"number":67,"title":"Persistence Layer > Refactor Structure Interface","user":{"login":"misha-kotov","id":18131925,"avatar_url":"https://avatars3.githubusercontent.com/u/18131925?v=4","gravatar_id":"","url":"https://api.github.com/users/misha-kotov","html_url":"https://github.com/misha-kotov","followers_url":"https://api.github.com/users/misha-kotov/followers","following_url":"https://api.github.com/users/misha-kotov/following{/other_user}","gists_url":"https://api.github.com/users/misha-kotov/gists{/gist_id}","starred_url":"https://api.github.com/users/misha-kotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha-kotov/subscriptions","organizations_url":"https://api.github.com/users/misha-kotov/orgs","repos_url":"https://api.github.com/users/misha-kotov/repos","events_url":"https://api.github.com/users/misha-kotov/events{/privacy}","received_events_url":"https://api.github.com/users/misha-kotov/received_events","type":"User","site_admin":false},"labels":[{"id":890386685,"url":"https://api.github.com/repos/magento/graphql-ce/labels/for-grooming","name":"for-grooming","color":"bacef4","default":false},{"id":942427419,"url":"https://api.github.com/repos/magento/graphql-ce/labels/performance","name":"performance","color":"ccccff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T14:57:44Z","updated_at":"2018-05-23T14:57:44Z","closed_at":null,"author_association":"NONE","body":"As a Magento dev, I want StuctureInterface to be decoupled from GraphQL objects so that I can reuse QueryAPI data provider for non-GraphQL related operations. \r\n\r\n**Assumptions:** \r\n- We will reuse the code that has already been written that needs refactoring; if we don't, we need to create a new SturctureInterface from scratch that fits AC; requires grooming\r\n\r\n**Acceptance criteria**\r\n- StructureInterface returns no GraphQL-specific objects\r\n- StructureInterface is not an array but an object\r\n- StructureInterface is immutable\r\n- Move Connective out of GraphQL because it's agnostic\r\n\r\n\r\n**Subtasks:** \r\n- Create structure specifc DTO to replace config/data/field - [6h]\r\n- Move connective out of GraphQL (probably to persistence) - [2h]\r\n- Investigate limit/offset naming, possibly decoupling from it and where it should actually live - [2h]\r\n   - Put into docs that currentPage and pageSize are ubiquitous input names - [1h]\r\n- Update integration tests\r\n"}}
{"actor":{"display_login":"misha-kotov"}}