Skip to content

[OutputType([xml])] should be added to XML code paths #266

@StartAutomating

Description

@StartAutomating

Several code paths within the turtle will output XML (or null). These properties should have the output type attribute for clarity and in expectation of future use. Additionally, script properties should typecast to [xml] ([xml]$x), rather than coerce to [xml] ($x -as [xml]). Because they are script properties, they will already hide the casting error from the user, and we do not want the error to be hidden from `$error, as well.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions