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

Complex data types #1057

Open
edsuncor opened this issue Apr 20, 2024 · 1 comment
Open

Complex data types #1057

edsuncor opened this issue Apr 20, 2024 · 1 comment
Labels

Comments

@edsuncor
Copy link

Is there a way to not include xsi:type for data types like double using XmlSerializer?

Currently outputting:
<num xsi:type="Double" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">0</num>

Would like to get:
<num>0</num>

I can see ServiceBodyWriter is checking for types guid, bool, string, enum, but not other types.
Is there an option available to produce this output?

Thanks.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant