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
Generate will not be able to filter existing functions/events if there are commented code. As it is using regex to process the ts-manifest. To solve this the best solution is to move away from Regex and instead use the Typescript AST to parse and modify the code.
Description
Generate will not be able to filter existing functions/events if there are commented code. As it is using regex to process the ts-manifest. To solve this the best solution is to move away from Regex and instead use the Typescript AST to parse and modify the code.
To do this we can use the Typescript API or possibly even better is ts-morph
Example failing test
This test will be passing once the problem is fixed
subql/packages/cli/src/controller/generate-controller.spec.ts
Line 582 in f95d987
The text was updated successfully, but these errors were encountered: