Document Autocast ?

499
2
Jump to solution
02-23-2022 03:28 AM
NicolasGIS
Occasional Contributor III

Hello,

When developping with ESRI JS API, I ended up with accessors I would love to be able to autocast just like anywhere in the API.

How to implement "autocasting" in Accessor is not publicly documented because I believe you do not want to "support" it as an API feature for which you will have to deprecate and so on.

But it would be very nice to have as well 🙂

(I can submit an idea if you prefer)

Thanks !

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor
2 Replies
ReneRubalcava
Frequent Contributor

There's some documentation in the Implementing Accessor guide

https://developers.arcgis.com/javascript/latest/implementing-accessor/#autocast

NicolasGIS
Occasional Contributor III

Indeed !

Completely missed that ! Shame on me.

Many thanks @ReneRubalcava 

Much appreciated