Not possible to have simpl-schema in two locations in node_modules (_constructorOptions key is missing "type")
See original GitHub issueIn that situation I get the following when trying to Collection.attachSchema
:
"_constructorOptions" key is missing "type"
So I think an existing instance of SimpleSchema is being treated as an object literal schema because the instanceof
has failed because the schema was created in a node_modules/simpl-schema
at a different path. That’s my guess anyway.
So currently this means I can’t debug my npm packages that also use SimpleSchema
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:21
Top Results From Across the Web
Not possible to have simpl-schema in two locations in ... - GitHub
In that situation I get the following when trying to Collection.attachSchema : "_constructorOptions" key is missing "type".
Read more >Migrating to Apollo Server 4 - Apollo GraphQL Docs
In Apollo Server 3, the parseOptions constructor option is used to modify how GraphQL parsing works in two unrelated places: when parsing GraphQL...
Read more >Connection "default" was not found with TypeORM
Solution is to make sure that you have exactly the same version installed in each package. To be on the safe side, delete...
Read more >Schematics for libraries - Angular
In your library project's package.json file, add a "schematics" entry with the path to your schema file. The Angular CLI uses this entry...
Read more >Firebase JavaScript SDK Release Notes - Google
get () where Query filters were not applied to data in some cases. Added the missing type definitions for startAfter() and endBefore() ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aldeed Gentle request. Would be great if you could look into the PR for this!
@aldeed: Waiting for the fix, PR does resolves the issue. Community will be glad to see it approved and merged