markdown graphql apollo-client变异警告

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown graphql apollo-client变异警告相关的知识,希望对你有一定的参考价值。


```js
export const PERSON_CREATE_MUTATION = gql`
  mutation PersonCreateMutation(
      $pogyowonAlias: String

\!h      $createdWhen: String!
\!h      $name: String!
    ){
    createPerson(
      pogyowonInfo: {alias: $pogyowonAlias }

      createdWhen: $createdWhen
      name: $name
    ){
      id
    }
  }
`
```
here if I miss '!'(which is differnt from server) then it makes error.
this is stupid coz the errors are unclear. they don't show what is the issue but only throwing 400 error

以上是关于markdown graphql apollo-client变异警告的主要内容,如果未能解决你的问题,请参考以下文章