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
This results in fewer models but more difficult visitation and analysis. Because when you visit e.g. an AaiMessage you don't know if it's inline or a definition found in the /components. The result is code like this:
Where we try to figure out from the parent what kind of thing we're writing out. If instead we had a AaiMessageDefinition subclass with its own visitMessageDefinition, we would just know. It makes some other things slightly more difficult (e.g. if you have a visitor that needs to analyze Messages and MessageDefinitions then you need to implement the visit method for both of those). But it's how we do things in the OpenAPI model, so if nothing else we should be consistent.
No description provided.
The text was updated successfully, but these errors were encountered: