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

feat: Add support for XML base64Binary type #46

Closed
Matej-Hlatky opened this issue Oct 6, 2023 · 3 comments
Closed

feat: Add support for XML base64Binary type #46

Matej-Hlatky opened this issue Oct 6, 2023 · 3 comments
Assignees

Comments

@Matej-Hlatky
Copy link

Is your feature request related to a problem? Please describe.

To be able to map XML type "base64Binary", to Dart Uint8List and vice-versa.

Describe the solution you'd like
Support "base64Binary" to be mapped to / from Uint8List.

Describe alternatives you've considered
Working with plain strings and mapping to Dart type when needed.

@tnc1997
Copy link
Owner

tnc1997 commented Oct 6, 2023

Hi @Matej-Hlatky, thank you for your feature request, I will investigate it over the weekend. In the meantime, I do have a question for you, how might you see base64Binary interacting with hexBinary given that both could map to Uint8List?

@tnc1997 tnc1997 self-assigned this Oct 6, 2023
@Matej-Hlatky
Copy link
Author

Matej-Hlatky commented Oct 6, 2023 via email

@tnc1997
Copy link
Owner

tnc1997 commented Oct 7, 2023

Or even better, support for custom XmlConverter (similar to JsonConverter from json_serializable).

I am in favour of adding support for custom converters similar to the JsonConverter class (#49).

@tnc1997 tnc1997 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
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

No branches or pull requests

2 participants