Set precondition's name instead of having it resolve from file name
Is it possible to set a precondition's name manually instead of having it resolve from file name, similar to how it can be done with listeners, commands and interaction handlers?
1 Reply
Yep, you just set the name property in the construction, just like listerns, command & handlers
https://www.sapphirejs.dev/docs/Documentation/api-framework/interfaces/PreconditionOptions#name