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
Since always, we are facing a small problem in couchbase plugin API. There is a certain method that is not parsed properly by metadata generator for a strange reason.
This is the definition of method in obj-c:
#pragma mark - Aggregate operators:
/** Creates a between expression that evaluates whether or not the current expression is between the given expressions inclusively. @param expression1 The inclusive lower bound expression. @param expression2 The inclusive upper bound expression. @return The between expression.*/
- (CBLQueryExpression*) between: (CBLQueryExpression*)expression1 and: (CBLQueryExpression*)expression2;
The text was updated successfully, but these errors were encountered:
CatchABus
changed the title
Metadata generator fails to generate proper types and add method to runtime
Metadata generator fails to generate proper types and does not add method to runtime
Mar 23, 2023
Since always, we are facing a small problem in couchbase plugin API. There is a certain method that is not parsed properly by metadata generator for a strange reason.
This is the definition of method in obj-c:
This is the typing that generator creates: https://github.com/triniwiz/nativescript-plugins/blob/master/packages/nativescript-couchbase/typings/objc!CouchbaseLite.d.ts#L1965
You'll notice it's missing
and
argument label.Also, this method doesn't exist in runtime at all even if one tries to call
between
orbetweenAnd
.There is also a valid method that happens to be named
andExpression
and I'm wondering if generator gets confused:https://github.com/triniwiz/nativescript-plugins/blob/master/packages/nativescript-couchbase/typings/objc!CouchbaseLite.d.ts#L1963
The text was updated successfully, but these errors were encountered: