Since 2.0 `ModelClass` does not have `#query` In typings
See original GitHub issueIn version 1.x
ModelClass<T>
works fine.
Now, in 2.0+
an typing error is thrown on the exact same code.

Is this expected, what would be the correct usage?
Thanks a lot 😄
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Vincit/objection.js - Gitter
I have an issue where I'm trying to merge query results with another object using lodash's merge function. For whatever reason, lodash doesn't...
Read more >typescript can't resolve typing from graphql query that ...
I would like to understand what is going on here, and since i'm not very experienced with typescript, any help would be greatly...
Read more >Spring Data JDBC - Reference Documentation
The query can be defined by an annotation somewhere or declared by other means. See the documentation of the specific store to find...
Read more >How to create custom model fields
Don't worry, you don't have to know how to play Bridge to follow this example. ... the model class is created (the precise...
Read more >Create a Table with SQLModel - Use the Engine
Create the Table Model Class¶. The first thing we need to do is create a class to represent the data in the table....
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 Free
Top 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
@francocorreasosa @patricklol22 a new version 2.1.0 has been released and the old
ModelClass
type is back. Let me know if you run in to trouble with it.not really, sorry.
had to use modelClass: any