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
I have a custom scalar URL and a type that uses it:
"""
A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.
"""
scalar URL
type Course {
...
url: URL,
...
}
When trying to generate docs for that schema using config.yml from the examples I get this error:
Running "compile-handlebars:compile" (compile-handlebars) task
Task error: [TypeError: this[kFormat] is not a function
at Object.toJSON (internal/url.js:691:27)
at JSON.stringify (<anonymous>:null:null)
at _stringify (/Users/.../spectaql/node_modules/json-stringify-pretty-compact/index.js:34:19)
When I change course to:
type Course {
...
url: String,
...
}
everything works. Also I didn't have that issue with 0.15.0 version. Thanks!
The text was updated successfully, but these errors were encountered:
I have a custom scalar
URL
and a type that uses it:When trying to generate docs for that schema using config.yml from the examples I get this error:
When I change course to:
everything works. Also I didn't have that issue with 0.15.0 version. Thanks!
The text was updated successfully, but these errors were encountered: