-
Notifications
You must be signed in to change notification settings - Fork 193
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
Codeunit 1483 XmlWriter lacks some overloads for WriteElementString() #346
Comments
@jhoek just to make sure, you want to add this new methods (including tests) by yourself? |
Sure! Have not looked at existing tests yet, but should not be that hard. |
[@pri-kise Am I right in my assumption that I cannot submit a PR before I get the go-ahead from you guys, and therefore should probably hold off development until your feedback?] |
@jhoek that's currently the official process. I'll ping @JesperSchulz to approve this issue, since this is a no-brainer and any similiar issue got approved in the past. Therefore I suggest the following:
|
Issue moved to the right place 😊 And I'll approve this issue. Create your PR whenever you're ready! |
Since this is still here, can I create a PR? |
You most certainly can! |
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Additional overloads for WriteEelementString method. Update tests #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes #346 Fixes [AB#505053](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/505053)
🕮 Codeunit 1483 XmlWriter lacks some overloads for WriteElementString()
The .NET framework provides a number of overloads for XmlWriter.WriteElementString() that accept a prefix/namespace. WriteStartElement in codeunit 1483 has an overload with Prefix and Namespace, but WriteElementString() does not. I would like to add two overloads for WriteElementString() in codeunit 1483, analogous to the .NET interface.
🔧 To Reproduce
Compare codeunit 1483 with https://learn.microsoft.com/en-us/dotnet/api/system.xml.xmlwriter.writeelementstring?view=net-7.0.
📣 Expected behavior
Overloads available to .NET developers also available to AL developers.
The text was updated successfully, but these errors were encountered: