Skip to content

Conversation

@GABRIELNGBTUC
Copy link

@GABRIELNGBTUC GABRIELNGBTUC commented Apr 17, 2025

PR Summary

Adds support for user-defined types by adding the UDTs present in the ARM file inside the markdown file and providing a link to the used UDT definition for outputs returning a UDT .

The only missing information are from additional decorators such as sealed or support for the source file location when the type is imported.

Will fix #355

There is also a known bug where links to some imported types (ie: [#definitions/_1.MyCustomType][#_1.mycustomtype]) may not work on all markdown engines. In the visual studio code text editor, two extensions I tried could not navigate to the referenced type on click. However, on ADO code wiki the link works as expected.

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress

@GABRIELNGBTUC GABRIELNGBTUC requested a review from a team as a code owner April 17, 2025 08:51
@GABRIELNGBTUC GABRIELNGBTUC changed the title Fixes #355 Add primitive support for user-defined types in outputs in order to prevent null references Fixes #355 Add near full support for user-defined types Apr 22, 2025
@GABRIELNGBTUC
Copy link
Author

GABRIELNGBTUC commented Apr 22, 2025

@BernieWhite Would it be possible to look at it when you have some time?

When this PR will be merged, I will also look to implement #195

@GABRIELNGBTUC
Copy link
Author

Pinging @vicperdana @BernieWhite again

@GABRIELNGBTUC
Copy link
Author

Pinging @vicperdana @BernieWhite again

@GABRIELNGBTUC
Copy link
Author

Pinging @vicperdana @BernieWhite again

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.

Support for custom types is required

1 participant