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
Creating custom data sources has become very easy since 2sxc 16 by inheriting the Custom.DataSource.DataSource16.
To make the docs simpler, some of the standard IDataSource APIs were implemented in a explicit way so they don't clutter the docs.
The APIs still worked in dynamic code, but they didn't show up in the docs.
But once we moved to typed code, some of these APIs were not available since Razor now really knew the type, and the type didn't actually contain the List or GetStream(...) APIs.
So these must be made proper APIs, and still hidden in the docs for simplicity.
Your environment
2sxc version(s): 19.00.00
The text was updated successfully, but these errors were encountered:
I'm submitting a
[x] bug report
...about
[x] Razor templating
[x] Custom Data Sources
Current Behavior / Expected Behavior
Creating custom data sources has become very easy since 2sxc 16 by inheriting the
Custom.DataSource.DataSource16
.To make the docs simpler, some of the standard
IDataSource
APIs were implemented in a explicit way so they don't clutter the docs.The APIs still worked in dynamic code, but they didn't show up in the docs.
But once we moved to typed code, some of these APIs were not available since Razor now really knew the type, and the type didn't actually contain the
List
orGetStream(...)
APIs.So these must be made proper APIs, and still hidden in the docs for simplicity.
Your environment
The text was updated successfully, but these errors were encountered: