-
-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
1.xenhancementAn improvement that needs to be addedAn improvement that needs to be addedp2Nice to haveNice to have
Description
Describe the feature
You can currently manually define types on the session.dataType
property, but we rely on our back-end for providing the right types.
It would be good if we could leverage this in the config, for 2 reasons:
- If the back-end type ever updates/changes, the front-end will now and (potentially) not pass the type checker (which is good)
- It would prevent people from having to manually define (and maintain!) the types, potentially getting out-of-sync with their back-ends
How would you implement this?
Allow to import a type and use it as a value for dataType.
Additional information
- Would you be willing to help implement this feature?
Provider
- AuthJS
- Local
- Refresh
- New Provider
Metadata
Metadata
Assignees
Labels
1.xenhancementAn improvement that needs to be addedAn improvement that needs to be addedp2Nice to haveNice to have