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

PaYaml V3 updates #679

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

joem-msft
Copy link
Contributor

  • add ScreenInstance.Variant
  • PaYamlSerializationContext now holds the PaYamlSerializerOptions options instance, and moved YamlDotNet builder configs to this class. This helps to reduce the number of parameters needed for some custom converter operations, along with keeping the options class more like a POCO.
  • Used primary ctor in some locations
  • PaYaml OM properties for collection properties (Properties, Children, Groups) are now nullable, default to null, to conserve memory all around.
  • Reverted type name changes so the term PaYaml is preferred over just Yaml. As was already discussed as part of original changes, this term is used to differentiate the types from more general purpose Yaml serialization types.

@joem-msft joem-msft requested review from a team as code owners June 25, 2024 00:46
- `PaYamlSerializationContext` now holds the `PaYamlSerializerOptions` options instance, and moved YamlDotNet builder configs to this class. This helps to reduce the number of parameters needed for some custom converter operations, along with keeping the options class more like a POCO.
- Used primary ctor in some locations
- PaYaml OM properties for collection properties (`Properties`, `Children`, `Groups`) are now nullable, default to null, to conserve memory all around.
- Reverted type name changes so the term `PaYaml` is preferred over just `Yaml`. As was already discussed as part of original changes, this term is used to differentiate the types from more general purpose Yaml serialization types.
@joem-msft joem-msft force-pushed the users/joemay/PaYamlV3-updates-and-fixes branch from 197999d to d922d9b Compare June 25, 2024 18:32
@joem-msft joem-msft merged commit fed95a2 into master Jun 25, 2024
4 checks passed
@joem-msft joem-msft deleted the users/joemay/PaYamlV3-updates-and-fixes branch June 25, 2024 18:42
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