Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive definition of interfaces #128

Open
fmrico opened this issue Nov 2, 2022 · 1 comment
Open

Recursive definition of interfaces #128

fmrico opened this issue Nov 2, 2022 · 1 comment
Labels
backlog enhancement New feature or request

Comments

@fmrico
Copy link

fmrico commented Nov 2, 2022

Feature request

Recursive definition of interfaces

Feature description

It would be very useful to define a message that includes the type of message being defined. Example:

Expression.msg at upf_msgs package

upf_msgs/Atom atom
upf_msgs/Expression[] expressions

string type
upf_msgs/ExpressionKind kind

Currently, this gives an error when compiling

@clalancette
Copy link
Contributor

It would be nice, though it is fairly easy to work around by making Expression.msg, and then having a higher-level message which includes it.

Thus, while I'll leave this open for a future enhancement, I don't expect that we'll get to it anytime soon.

@clalancette clalancette added enhancement New feature or request backlog labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants