-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Sometimes we want to reuse the same effect implementation but for different environment settings. Examples:
- Different JWT tokens for different applications.
- Different DB settings for different databases.
- Support measuring with either EKG or Prometheus.
So it looks like some effects should be tagged (it's not tagless final anymore).
Initial idea: instead of
class MonadJwt m wherehave
class MonadJwt (tag :: k) m whereSo in constraints this will look like this:
foo :: (MonadJwt "app1" m, MonadJwt "app2" m) => ...What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested