v0.4.0 #164
Unanswered
sachaarbonel
asked this question in
Q&A
v0.4.0
#164
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
stream_feed
0.4.0
Changelog
StreamFeedClient.connect
is nowStreamFeedClient
for better user session handling.The connect verb was confusing, and made you think that it will perform the connection immediately. Also, it doesn't infer the id anymore from the token anymore. You can now have to call
setUser
down the tree or beforerunApp
setUser
now takes aUser
(must contain id) and a token. Passing the user token in the client constructor was making the whole instance depend on a single user.EnrichedActivity
is nowGenericEnrichedActivity<A,Ob,T,Or>
in order to have a more flexible API surface. Those generic parameters can be as follows:A = [actor]: can be an User, String
Ob = [object] can a String, or a CollectionEntry
T = [target] can be a String or an Activity
Or = [origin] can be a String or a Reaction or a User
EnrichableField
field fromEnrichedActivity
EnrichedActivity
to handle most use cases ofGenericEnrichedActivity
(User,String,String,String)stream_feed_flutter_core
0.4.0
First Release of Core 🎉
This package provides business logic to fetch common things required for integrating Stream Feed into your application.
The core package allows more customization and hence provides business logic but no UI components.
Use stream_feed for the low-level client.
The package primarily contains three types of classes:
Business Logic Components
These components allow you to have the maximum and lower-level control of the queries being executed.
The BLoCs we provide are:
Core Components
Core components usually are an easy way to fetch data associated with Stream Feed which are decoupled from UI and often expose UI builders.
Data fetching can be controlled with the controllers of the respective core components.
Usage
This discussion was created from the release v0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions