vapor / redis

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

Compiler warning: deprecated version of flatMapThrowing #195

Closed sbeitzel closed 2 years ago

sbeitzel commented 2 years ago

Describe the bug

While building a newly constructed Vapor project, I'm getting a few compiler warnings:

RediStack/Sources/RediStack/RESP/RESPValue.swift:187:21: warning: 'flatMapThrowing(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
        return self.flatMapThrowing(file: file, line: line) {

Expected behavior

This is a cleanup bug -- someone* ought to go through the source and take care of the deprecations.

Environment

Mordil commented 2 years ago

Thanks for reporting - this is actually a RediStack issue itself. I've transcribed your bug report into GitLab as issue #102