use wildcard paths on InteractionHandlerStore#registerPath

Hi, are we able use wildcard paths while registering a new path for a store? or is their away to do this without writing a helper for that for example:
this.stores.get('listeners').registerPath(join(this.rootData.root, './handlers/events')).registerPath(join(this.rootData.root, "./integrations/**/*"));
this.stores.get('listeners').registerPath(join(this.rootData.root, './handlers/events')).registerPath(join(this.rootData.root, "./integrations/**/*"));
3 Replies
f1fty
f1ftyOP2w ago
maybe this is not related to sapphire... i dont know
Favna
Favna2w ago
Sorry wildcards are not supported, but subdirectories are automatically traversed (and turned into categories)
f1fty
f1ftyOP2w ago
okay thanks for the information always!

Did you find this page helpful?