microsoft / dtdl-model-generator

A library used for generating C# classes from DTDL interfaces.
MIT License
13 stars 16 forks source link

Upgrade/Replace to DTDL V3 enabled Parser #30

Closed sai-prajeet closed 1 year ago

sai-prajeet commented 1 year ago

This PR contains the below changes:

  1. Added a new DTDL Parser Package version 1.0.52.
  2. Removed the existing Parser Package (Microsoft.Azure.DigitalTwins.Parser)
  3. Updated the System.Text.Json to latest stable version (7.0.3).
  4. Created a new test project Generator.V3.Tests that contains DTDL models with version 3.
  5. Renamed existing unit tests project to Generator.V2.Tests.
  6. The Access level for the properties in the file CloudToDeviceMethodOptions.cs under Generator.V2.Tests.Generated Project is changed to internal from public on running the unit tests as the original file under custom folder (Generator.Template Project) is having the properties with access level internal.
amdawood commented 1 year ago

@sai-prajeet, please add tests that generate v3 models

sai-prajeet commented 1 year ago

@microsoft-github-policy-service agree company="Microsoft"

sai-prajeet commented 1 year ago

@sai-prajeet, please add tests that generate v3 models updated the test models context version to 3 and all the test cases are passing

sai-prajeet commented 1 year ago

Please ensure the description is updated to reflect all the changes

Thanks Amr. Updated the PR description

Shuvajyoti commented 1 year ago

Please fix the build.

sai-prajeet commented 1 year ago

Please fix the build.

Fixed the Build issue