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
Show the message in the frontend (as a notification, similar to the notifications used to report compilation errors)
Add a #warning message / #error message directive in the generated code so if user overlooks 1 they have another chance notice the warning in the code and if they don't and try to compile they will get a compilation warning/error.
Known use cases
The main driver for this feature is to report unsupported C# features but most likely there are other use cases.
The text was updated successfully, but these errors were encountered:
As of today whenever we want to call user's attention to some aspect of the generated code we have two alternatives
We intend to add a mechanism to allow Cecilifier to emit
warnings/errors
in a way that will be harder to overlook them.API
Bebavior
Invoking these members will:
message
in the frontend (as a notification, similar to the notifications used to report compilation errors)#warning message
/#error message
directive in the generated code so if user overlooks 1 they have another chance notice the warning in the code and if they don't and try to compile they will get a compilation warning/error.Known use cases
The main driver for this feature is to report
unsupported C# features
but most likely there are other use cases.The text was updated successfully, but these errors were encountered: