Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Some Custom DataSource APIs missing in Typed Code #3540

Closed
iJungleboy opened this issue Jan 4, 2025 · 0 comments
Closed

[BUG] Some Custom DataSource APIs missing in Typed Code #3540

iJungleboy opened this issue Jan 4, 2025 · 0 comments
Assignees

Comments

@iJungleboy
Copy link
Contributor

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 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
@iJungleboy iJungleboy self-assigned this Jan 4, 2025
@github-project-automation github-project-automation bot moved this to Done in 2sxc 19 Jan 4, 2025
iJungleboy added a commit to 2sxc-dev/app-test-features that referenced this issue Jan 4, 2025
@iJungleboy iJungleboy moved this from Done to v19.01 in 2sxc 19 Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: v19.01
Development

No branches or pull requests

1 participant