Select to view content in your preferred language

Document Autocast ?

577
2
Jump to solution
02-23-2022 03:28 AM
NicolasGIS
Regular Contributor

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 II
2 Replies
ReneRubalcava
Frequent Contributor II

There's some documentation in the Implementing Accessor guide

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

NicolasGIS
Regular Contributor

Indeed !

Completely missed that ! Shame on me.

Many thanks @ReneRubalcava 

Much appreciated