vapor / redis

Vapor provider for RediStack
MIT License
458 stars 57 forks source link

Change Sessions driver to be generic #177

Closed Mordil closed 3 years ago

Mordil commented 3 years ago

This changes the RedisSessionsDriver to be generic over the RedisSessionsDelegate to drop the performance overhead of the delegate existential.

In general, no one should see a breaking change unless you were passing a RedisSessionsDelegate as an existential - as you will see the "RedisSessionsDelegate cannot be passed to a generic context" message

Mordil commented 3 years ago

This is based off of #176 and needs to be merged afterwards

Mordil commented 3 years ago

@gwynne Thanks for this CI work!

tanner0101 commented 3 years ago

These changes are now available in 4.0.0-rc.2.1