You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike other types, we have cache in TCGC, such as SdkModelType, etc.
This ensures us if we put the same instance of Model from compiler, we always get back the same instance of SdkModelType.
We should introduce cache for model properties as well, now every time we give the same ModelProperty into getSdkModelPropertyType, it gives back a new instance every time.
The text was updated successfully, but these errors were encountered:
Unlike other types, we have cache in TCGC, such as
SdkModelType
, etc.This ensures us if we put the same instance of
Model
from compiler, we always get back the same instance ofSdkModelType
.We should introduce cache for model properties as well, now every time we give the same
ModelProperty
intogetSdkModelPropertyType
, it gives back a new instance every time.The text was updated successfully, but these errors were encountered: