Replies: 1 comment
-
Yeah I would create such a custom attribute take a look at the interface which |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can't seem to find a way to generate a type like the following:
I had to resort to something like that:
I don't think it's ideal because the string is not refactor-proof. I would love to be able to have an API for this using actual FQCNs, but I have no clue how I could describe the value part of the record being an array. For a simple key-value record, we could have something like this:
Maybe the solution would be to have a
AircraftDataCollection
class but I don't know how it could be typed without adding an attribute for it and specific support.Any input?
Beta Was this translation helpful? Give feedback.
All reactions