Closed dalssoft closed 2 years ago
I'm working on it.
Hi guys, on the cli docs one of the steps are to specify the entity, but when i run it to check how the changes are working it doesn't appear, I can't find any related code to this step at the repo besides at the readme. How can I call it? @dalssoft @italojs @jhomarolo
on the cli docs one of the steps are to specify the entity, but when i run it to check how the changes are working it doesn't appear
this feature has been deprecated and is no longer valid. the doc should be updated
@PedroMarquesFr I agree with David.
It seems this is not an issue anymore. We should update the doc removing this part.
True, so there are no way to generate code using entities with cli right? I think the PR is ready to review herbsjs/herbs-cli#143
@PedroMarquesFr the ideia of this issue is to substitute the current files on infra\api\graphql
(mutations.js, queries.js, types.js) for a simple call with herbarium as described in https://github.com/herbsjs/herbs2gql/issues/38
@dalssoft So the files on infra\api\graphql (mutations.js, queries.js, types.js) would not exist anymore and those functions would go to the index.js file with herbs2gql(herbarium), right? Thats what I understood
@PedroMarquesFr mutations.js, queries.js, types.js has already been moved to herbs2gql (https://github.com/herbsjs/herbs2gql/issues/38 / https://github.com/herbsjs/herbs2gql/pull/54). now you just need to refactory to remove this files on the cli template
@dalssoft can you check if its covering all point correctly?
@dalssoft I fixed coverage, can you take a look?
@dalssoft @jhomarolo I had send the fixes can you check it?
:tada: This issue has been resolved in version 2.14.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Dependency: https://github.com/herbsjs/herbs2gql/issues/38
When the above issue is ready it will be necessary to change the current infrastructure generated automatically for GraphQL to a new one (much simpler one).
The generated file should leave space for customization using metadata or the inclusion of custom mutations, queries and types.