Checker functions getValueForNode and getTypeOrValueForNode marked as internal #7126
Unanswered
singh-harsh
asked this question in
Q&A
Replies: 1 comment 5 replies
-
As we are release 1.0 we did a cleanup of every API that shouldn't be used and were not meant to be exported. Using the AST(nodes) of typespec is not a scenario that we consider a supported scenarios for libraries and emitter expect for very specific cases see our Breaking change policy for more details. Can you explain a bit more on why you need to inspect the node here, where do you get the node from in your decorator. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to understand the rationale behind making the following methods of the Checker class internal:
Use Case
Value
.TypeSpecScriptNode
. From there, I iterate over thestatements
and extract the individualNode
elements.Value
from aNode
.Concern
Beta Was this translation helpful? Give feedback.
All reactions