-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
* | ||
* @package remote-data-blocks | ||
* @since 0.1.0 | ||
*/ | ||
abstract class CompatibleHttpDatasource extends HttpDatasource { | ||
abstract class CodedHttpDatasource extends HttpDatasource { |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
There was a problem hiding this 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]>
Add data source doc, and a few fixes that writing the docs helped me find.