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

Request to condense choice types into single value #3

Open
GinoCanessa opened this issue Jul 2, 2020 · 1 comment
Open

Request to condense choice types into single value #3

GinoCanessa opened this issue Jul 2, 2020 · 1 comment
Labels
c# basic Specific to export of Language CSharpBasic enhancement New feature or request

Comments

@GinoCanessa
Copy link
Contributor

For choice properties, did you consider encapsulating the value in a union-like type and having just one top-level property? So an example might look like this:

Patient
  Deceased
    Boolean
    DateTime

instead of

Patient
  DeceasedBoolean
  DeceasedDateTime

Originally posted by @johnstairs in #2 (comment)

@GinoCanessa GinoCanessa added the enhancement New feature or request label Jul 2, 2020
@GinoCanessa
Copy link
Contributor Author

I've considered it, but haven't had time to sort out the serialization and deserialization handlers to support it.

@GinoCanessa GinoCanessa changed the title CSharpBasic: Request to condense choice types into single value Request to condense choice types into single value Jul 2, 2020
@GinoCanessa GinoCanessa added the c# basic Specific to export of Language CSharpBasic label Jul 2, 2020
GinoCanessa pushed a commit that referenced this issue Aug 4, 2020
Sync Firely fork (main) with MS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# basic Specific to export of Language CSharpBasic enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant