OliverFlint / XrmTypesGen

A Typescript Type Declaration Generator for Dynamics 365
MIT License
14 stars 5 forks source link

[Feature Request] Generate Entities compatible with @albanian-xrm/early-bound #18

Open BetimBeja opened 3 years ago

BetimBeja commented 3 years ago

I know it is much to ask ;) but: I would like to add an option to generate the EarlyBound models in a slightly different format which is compatible with the new package that I have created: @albanian-xrm/early-bound I will issue a PR myself soon for this.

BetimBeja commented 1 year ago

Thanks for merging the PR @OliverFlint 🎉

OliverFlint commented 1 year ago

@BetimBeja I've published this a 1.1.0-beta https://www.npmjs.com/package/xrmtypesgen/v/1.1.0-beta

Once we are happy, I'll publish as "latest".

OliverFlint commented 1 year ago

Reopening this as it needs a readme update for the new switches.

BetimBeja commented 1 year ago

We also need to remove some console.log entries from the final code and fix a problem with Timeline control. Probably add support for MultiSelectOptionSets also.

BetimBeja commented 1 year ago

This is interesting 😮 Choices is a AttributeType: Virtual

{
  "@odata.type": "#Microsoft.Dynamics.CRM.MultiSelectPicklistAttributeMetadata",
  "LogicalName": "albx_multichoice",
  "SchemaName": "albx_MultiChoice",
  "AttributeType": "Virtual",
  "MetadataId": "7d81eb35-a6b8-ec11-983f-000d3abf6036",
  "AttributeTypeName": {
    "Value": "MultiSelectPicklistType"
  }
}