We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GraphQL의 typedef 내에서는 배열은
before: import {gql} from 'apollo-server'; const typeDefs = gql` scalar Date scalar Long scalar Double scalar Integer type Sales { id: Long! qty: Integer status: String companyId: CompanyId itemId: ItemId } type Production { id: Long! productId: String qty: Integer orderId: Long } type Company { id: String! name: String addresses: List<Address> } type User { id: String! email: String name: String addresses: List<Address> } type Item { id: String! name: String } type Query { sales: [Sales] sales(id: Long!): Sales productions: [Production] production(id: Long!): Production companies: [Company] company(id: Long!): Company users: [User] user(id: Long!): User items: [Item] item(id: Long!): Item } `; export default typeDefs; after: import {gql} from 'apollo-server'; const typeDefs = gql` scalar Date scalar Long scalar Double scalar Integer type Sales { id: Long! qty: Integer status: String companyId: CompanyId itemId: ItemId } type Production { id: Long! productId: String qty: Integer orderId: Long } type CompanyId { id: String! name: String } type ItemId { id: String! name: String } type Company { id: String! name: String addresses: [Address] } type User { id: String! email: String name: String addresses: [Address] } type Item { id: String! name: String } type Address { city: String! street: String } type Query { sales: [Sales] sale(id: Long!): Sales productions: [Production] production(id: Long!): Production companies: [Company] company(id: Long!): Company users: [User] user(id: Long!): User items: [Item] item(id: Long!): Item } `; export default typeDefs;
The text was updated successfully, but these errors were encountered:
kyusooK
No branches or pull requests
GraphQL의 typedef 내에서는 배열은
이렇게 생성되면 안되고 [Address] 이렇게 생성되어야 함The text was updated successfully, but these errors were encountered: