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
Generated code is hard to debug even for developers familiar with the source. Since the exported modules are generated based on the provided OpenAPI Spec, it's not easy for users to ask for traces of the proper functions. Developers usually either add debug traces to the whole generated modules or write them to files for further inspection.
A more convenient way of debugging the routing/validation process is required. A possible solution would be providing an erf_dbg module exposing some methods that, given known parameters such as the operationId, would add convenient debug traces on generated modules.
The text was updated successfully, but these errors were encountered:
Generated code is hard to debug even for developers familiar with the source. Since the exported modules are generated based on the provided OpenAPI Spec, it's not easy for users to ask for traces of the proper functions. Developers usually either add debug traces to the whole generated modules or write them to files for further inspection.
A more convenient way of debugging the routing/validation process is required. A possible solution would be providing an
erf_dbg
module exposing some methods that, given known parameters such as theoperationId
, would add convenient debug traces on generated modules.The text was updated successfully, but these errors were encountered: