Category "vapor"

Is it possible to work with different schemas in Fluent with PostgreSQL?

I need to create tables with different number of fields for different users. I want to create a schema for each user, and in it a custom set of tables. I can do

How to get client IP address in Vapor 3.0?

Although there used to be some methods to get client IP address (e.g. req.peerHostname ), I cannot figure out how to get it in Vapor 3.0. Could anyone please l

Two almost identical targets in Vapor Xcode project

I want to configure Package.swift so that one target would be an extension to another, both of them should share the same code from the one folder, but for the

How to send nested raw JSON in URLSession to Vapor API?

I have a Vapor API that has a route to register users. This route recibes a nested object in JSON format like this: { "name": "Test", "email": "test1@te

CircularBuffer error after upgrading to Xcode 13.3, SwiftNIO, Vapor in the mix

I have a project that will not compile, after upgrading to Xcode 13.3 The error is Type 'CircularBuffer<Element>' does not conform to protocol 'MutableCol