-
Notifications
You must be signed in to change notification settings - Fork 213
Implement naming convention for "data provider" #1576
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
Comments
Also address this comment from @Manishearth:
Originally posted by @Manishearth in #1554 (comment) |
I don't have a strong opinion here. I see The term In result my intuition is to continue using |
I think moving to "resource" provider is nice. I don't know what to do about DynProvider, I don't like having dyn in its name when it does not in its definition provide dyns, but it is supposed to largely be fore type erased stuff. |
|
|
(with (4) we'd have to rename
|
Honestly this is kinda why I disagree with the naming |
How about |
Discussion: Old names:
New names:
|
Our load methods are now
The last one is obviously not great anymore, and I'm also not a fan of |
|
Uh oh!
There was an error while loading. Please reload this page.
In #1554 I am removing the
DataProvider
type and making itResourceProvider
andDynProvider
.The prelude types are now:
It is weird that some of them are "data" and some are "resource". I started using the word "resource" to refer to specific pieces of data. The word "data" is vague, overused, and is weird when it comes to singular and plural. However, I still think it is okay to talk about "data pipeline" and "data provider" as a high-level concept.
We should also think about the naming for
DynProvider
. I chose this name because the main use case forDynProvider
moving forward are things likeDynProvider<SerializeMarker>
, where you want a pluggable marker representing a trait object.Seeking input from:
The text was updated successfully, but these errors were encountered: