profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/madsodgaard/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

madsodgaard/vapor-auth-template 138

A Vapor 4 template with authentication, Fluent, JWT, Queues, repository pattern, testing and more.

vapor/email 13

A common API for Vapor to integrate with different email providers

madsodgaard/vapor-roles-example 4

A Vapor 4 example of using user roles with multiple "organizations"

vapor-community/GatewayAPIKit 2

A Swift package for sending SMS using GatewayAPI

madsodgaard/apns 0

Helpful extensions and abstractions for using APNSwift

madsodgaard/APNSwift 0

An HTTP/2 APNS library built on swift-nio

madsodgaard/async-http-client 0

HTTP client library built on SwiftNIO

madsodgaard/bugsnag 0

Report errors with Bugsnag 🐛

madsodgaard/gatekeeper 0

Rate limiting middleware for Vapor 👮

madsodgaard/sss-nemid 0

A Server-Side-Swift project for integrating the danish NemID system.

pull request commentnodes-vapor/gatekeeper

Add documentation action

@siemensikkema Yea. It looks like the 50 requests sent are taking over a second to complete, which means that the rate-limiting would reset, causing the assertion to fail.

siemensikkema

comment created time in 15 days

issue openedvapor/vapor

Removing value from cache requires explicit generic type

To reset a value in the cache you should be able to do:

cache.set("foo", to: nil)

However, due to the generic constraint that code would fail with: Generic parameter 'T' could not be inferred. You must do something like:

cache.set("foo", to: String?.none)

created time in 2 months

Pull request review commentvapor/fluent-postgres-driver

Log SQL of queries in when log level set to debug mode

 extension _FluentPostgresDatabase: Database {             for create in e.createCases {                 _ = builder.add(value: create)             }+            self.logger.debug("\(builder.query)")

Should this not be logged for .delete and .create as well?

0xTim

comment created time in 2 months

Pull request review commentvapor/fluent-postgres-driver

Log SQL of queries in when log level set to debug mode

 extension _FluentPostgresDatabase: Database {             for create in e.createCases {                 _ = builder.add(value: create)             }+            self.logger.debug("\(builder.query)")

Should this not be logged for .delete and .create as well?

0xTim

comment created time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

startedearthly/earthly

started time in 2 months