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

Add data source doc #79

Merged
merged 4 commits into from
Sep 20, 2024
Merged

Add data source doc #79

merged 4 commits into from
Sep 20, 2024

Conversation

chriszarate
Copy link
Member

Add data source doc, and a few fixes that writing the docs helped me find.

*
* @package remote-data-blocks
* @since 0.1.0
*/
abstract class CompatibleHttpDatasource extends HttpDatasource {
abstract class CodedHttpDatasource extends HttpDatasource {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


/**
* This is a placeholder datasource used only to represent the data source in the
* settings UI. The actual data loading is implemented by ExampleApiQueryRunner.
*/
class ExampleApiDataSource extends HttpDatasource {
class ExampleApiDataSource implements DatasourceInterface {
Copy link
Contributor

@mhsdef mhsdef Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

Yeah, that's the gist of it. Adds flexibility in aligning permutations of abstractions closer to their realities.

Copy link
Contributor

@mhsdef mhsdef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing. Shippy ship and we can keep iterating.

Co-authored-by: Hew <[email protected]>
@chriszarate chriszarate merged commit 5c1ce29 into trunk Sep 20, 2024
9 checks passed
@chriszarate chriszarate deleted the add/data-source-docs branch September 20, 2024 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants