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
When merging #994 we set the possibility of adding multiple connection types in order to give more flexibility to the application to categorize the different connections. This is implemented by setting the "connectionType" tag as a string array.
My question is: is there a way to do an efficient query for a tag like that if it contains more than a single element? Let's say I have a connection whose connectionType tag is [ 'Mediator', 'Issuer' ] and I want to search for all connections whose connectionType tag contains the type 'Issuer'. Is it possible to do so with Indy and Askar WQL?
The text was updated successfully, but these errors were encountered:
Indy doesn't natively support array tags, but we achieve it by having the key:value as the tag name.
Had to make two slight adjustions:
Add DefaultConnectionTags & CustomConnectionTags as return type for the getTags in ConnectionRecord, I think there's something wrong with the inference of findByQuery.
Had to change the type of the connectionType tag to Array<ConnectionType | string> as [ConnectionType | string] doesn't work and means an array with one entry
When merging #994 we set the possibility of adding multiple connection types in order to give more flexibility to the application to categorize the different connections. This is implemented by setting the "connectionType" tag as a string array.
My question is: is there a way to do an efficient query for a tag like that if it contains more than a single element? Let's say I have a connection whose
connectionType
tag is[ 'Mediator', 'Issuer' ]
and I want to search for all connections whose connectionType tag contains the type 'Issuer'. Is it possible to do so with Indy and Askar WQL?The text was updated successfully, but these errors were encountered: