Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alan Cha
    @Alan-Cha
    Hello everyone!
    Please feel free to ask any questions here!
    manjunaths222
    @manjunaths222
    Hi @Alan-Cha . Is there any updated on when the issue IBM/openapi-to-graphql#131 could be resolved? Even I am facing the same issue what is mentioned there. Operation names are like "accessRoles2", "getResources3" etc.
    Alan Cha
    @Alan-Cha
    @manjunaths222 Hey! Most of the time, the appended numbers are unavoidable. With the given information provided by the OAS
    With the given information provided by the OAS and trying to create a generalizable solution, this is the best we can do in most circumstances.
    However, we have provided the operationIdFieldNames options to allow the user to manually specify the
    field names.
    Alan Cha
    @Alan-Cha
    We are also exploring trying to auto-generate singular field names
    Take a look at PR #185 for more information
    manjunaths222
    @manjunaths222
    Thanks a lot for @Alan-Cha for your quick response.
    Alan Cha
    @Alan-Cha
    @manjunaths222 No problem! Feel free to ask any other questions as they come up! :smile:
    Chaitanya Bendalam
    @chaitu0609
    @Alan-Cha Is there any possibility for adding SSL into GraphQL server
    Alan Cha
    @Alan-Cha
    @chaitu0609 To clarify, are you talking about making the resolvers makings calls using HTTPS or are you talking about the generated GraphQL server (presumably from using the CLI)?
    Alan Cha
    @Alan-Cha
    Both should be possible I believe
    For the former, it is simply a matter of pointing to a server that uses HTTPS in the OAS, then all API calls will be made over HTTPS
    For the latter, the library just creates a schema and resolvers, so it up to the user to set up the GraphQL server. The CLI on the other hand, which is just a wrapper for the library, uses express-graphql to create the GraphQL server.
    I'm not too how to do it, but I think there are ways to use SSL using the express library. If you could look into it, I think we can create a PR together to create an option (or just expose some preexisting ones provided by express-graphql). Let me know what you think!
    Chaitanya Bendalam
    @chaitu0609
    Thanks @Alan-Cha for your quick response