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

Automatically define basic convenience functions for messages types #100

Open
tomerarnon opened this issue Apr 3, 2023 · 1 comment
Open

Comments

@tomerarnon
Copy link

tomerarnon commented Apr 3, 2023

  • Equality would be useful to automatically have. I haven't looked too deeply into the automatic type generation from message names, but probably using something like AutoHashEquals.jl would be easy enough.

  • I'd also really appreciate having keyword constructors by default. Using Base.@kwdef in the constructor code should allow for that easily. No argument constructors like Header() are already allowed by default, but not Header(frame_id = "this")

@jdlangs
Copy link
Owner

jdlangs commented Apr 4, 2023

Both sound like good ideas. I'm not actively developing for this repo right now but I'd be happy to support efforts with conversation/reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants