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

Changed WorkflowInfoDatamart type to string to be in alignment with o… #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomkroening
Copy link

Description

I was experiencing a deserialization error when a workspace contained a datamart. This is due to the type object of WorkspaceInfoDatamart not being in alignment with how the JSON is structured. I have converted this type to a string to be in alignment with other objects such as WorkspaceInfoDataset and WorkspaceInfoReport.

NOTE: I did not modify the swagger file so if this change is approved this will need to be done.

Exception Info:
JsonSerializationException: Error converting value "Sql" to type 'Microsoft.PowerBI.Api.Models.DatamartType'.

Question

please answer the following questions. put x inside [ ] (e.g. [x])

What inside?

  • [x ] Bug Fixes?
  • New Features?
  • [] Documentation?

Is pull request totally generated from swagger file?

  • Yes.
  • No, part of it is auto-generated.

Backward compatibility break?

  • Yes. Pull request breaks backward compatibility!

Learn more about backward compatibility.

…ther WorkflowInfo objects. Deserialization was causing an exception as the class was not structured in alignment with the JSON: JsonSerializationException: Error converting value "Sql" to type 'Microsoft.PowerBI.Api.Models.DatamartType'.
@MarkusFleischmann
Copy link

I had the same issue like you describe, so I try and added my review as well.

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.

2 participants