Open namoscato opened 3 years ago
I think https://github.com/hasura/graphql-engine/pull/6478 partially fixes this issue, but v2/index.js
also seems to be using invalid ES6 Module syntax, i.e.
./node_modules/@hasura/metadata/v2/index.js:1
export * from "../dist/HasuraMetadataV2"
^^^^^^
SyntaxError: Unexpected token 'export'
at wrapSafe (internal/modules/cjs/loader.js:979:16)
I'm having some trouble importing the
Convert
class from@hasura/metadata
for at least a few reasons:@hasura/metadata
)package.json
'smain
entry is invalid (should bev2/index.js
)I'm happy to make these changes but wanted to open an issue first to see if I was missing something.