Skip to content

Current version of pac modelbuilder generated custom api sdk messages gives a compile error #34

Description

@prohannes

Describe the bug
Parameters vs. Results breaks cs class file

To Reproduce
Steps to reproduce the behavior:
1.Run pac modelbuilder build for Custom API
2. Check result

Expected behavior
Parameters vs. Results should be fixed

Snippet

	[System.Runtime.Serialization.DataContractAttribute(Namespace="http://schemas.microsoft.com/xrm/2011/new/")]
	[Microsoft.Xrm.Sdk.Client.ResponseProxyAttribute("abc_dvs_phone_api")]
	public partial class abc_dvs_phone_apiResponse : Microsoft.Xrm.Sdk.OrganizationResponse
	{
		
		public abc_dvs_phone_apiResponse()
		{
		}
		
		public string abc_dvs_phone_api_res_faultmessage
		{
			get
			{
				if (this.Results.Contains("abc_dvs_phone_api_res_faultmessage"))
				{
					return ((string)(this.Results["abc_dvs_phone_api_res_faultmessage"]));
				}
				else
				{
					return default(string);
				}
			}
			set
			{
				this.Parameters["abc_dvs_phone_api_res_faultmessage"] = value;
			}
		}

Microsoft.Xrm.Sdk.OrganizationResponse is not aware of this.Parameters

Desktop (please complete the following information):

  • OS: Windows
  • Microsoft PowerPlatform CLI
  • Version: 1.45.3+g427813b (.NET Framework 4.8.9310.0)

Additional context
see microsoft/powerplatform-build-tools#777

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions