Replies: 1 comment 3 replies
-
hey! The proc macro should process whatever you put into the status expression as an identifier with format_ident so I expect this should just work. Probably a bug if it doesn't. The crd_derive_multi example may be helpful for setting up multiple variant crds with different versions. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to looking into kube-rs, so I might be missing something obvious. But I stumpled upon an issue I would like to get some directions for (either if it is possible somehow already or where to start if that needs implementing).
For example in a struct like this:
status
is specified asFooStatus
, which in turn will generate code using a struct with the same name. But this assumes that this struct is part of the same module asMyFoo
and is using that specific struct then.What about the case if I have multiple such
FooStatus
es in different modules, for example for different implementations of it (versions), which I want to explicitly set for eachMyFoo
version.For example:
Beta Was this translation helpful? Give feedback.
All reactions