-
-
Notifications
You must be signed in to change notification settings - Fork 341
Open
Description
Examples like:
- https://github.com/asyncapi/generator/blob/master/packages/templates/clients/websocket/javascript/example.js
- https://github.com/asyncapi/generator/blob/master/packages/templates/clients/websocket/python/example.py
- https://github.com/asyncapi/generator/blob/master/packages/templates/clients/websocket/dart/example.dart
These are hardcoded, but it causes issue:
- these examples are only available in the repository, so if someone generates something with the template, they do not have the example available first-hand
- these are easy to break, whenever we change something in templates, we forget to update examples
Of course it is not enouth to move example into template, and make sure it is dynamicly generated. We need to figure out how we can make sure these examples work. Maybe we should somehow use them in the acceptance tests?
Metadata
Metadata
Assignees
Labels
No labels