You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
Implementing multiple interfaces on a type in a collection is broken, due to wrong delimiter between interfaces.
To Reproduce
Steps to reproduce the behavior:
add 2 interfaces to a collection, build fails
Describe the bug
A clear and concise description of what the bug is.
Implementing multiple interfaces on a type in a collection is broken, due to wrong delimiter between interfaces.
To Reproduce
Steps to reproduce the behavior:
add 2 interfaces to a collection, build fails
Expected behavior
type is built correctly
Source of the issue is likely here:
export const mainTypeTemplate = ({ typeName, description, interfaces, fields }) =>
${description ?
# ${description}: ''} type ${typeName} ${interfaces.length ?
implements ${interfaces.join(', ')}: ''}{ ${convertToGraphQL(fields, ' ')} }
;${interfaces.join(', ')} should be ${interfaces.join(' & ')}
As multiple interfaces are defined as such:
type Business implements NamedEntity & ValuedEntity {
name: String
value: Int
employeeCount: Int
}
The text was updated successfully, but these errors were encountered: