Skip to content

Comments

feat: convert protos to be dicts [skip ci]#2176

Draft
avik-pal wants to merge 1 commit intomainfrom
ap/dict_protos
Draft

feat: convert protos to be dicts [skip ci]#2176
avik-pal wants to merge 1 commit intomainfrom
ap/dict_protos

Conversation

@avik-pal
Copy link
Collaborator

@gbaraldi would something like this work?

@avik-pal avik-pal requested a review from gbaraldi January 21, 2026 21:33
@gbaraldi
Copy link

gbaraldi commented Jan 21, 2026

This doesn't precompile atm but I suspect this would work

struct var"#Any"
mutable struct var"#Any"
type_url::String
value::Vector{UInt8}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For all the immutable structs that have been changed to mutable, fields should be marked as constant, otherwise they lose their property. Also, I'm not sure this is necessary for small structs like this one with 1-2 fields (these aren't even parametric)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s unclear where the line is. Though that one looks too small

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

Successfully merging this pull request may close these issues.

3 participants