Open fpseverino opened 1 month ago
wouldnt it be more usefull to have passkit repo take care of the package and hand the repo once it is done to passkit?
once it changes changes domains from passkit to something else its becomes a technical overhead to maintain as divergence is guaranteed.
Hi everyone, I would like to hear your opinion about some ideas I have for the future of this package.
First of all, as we discussed in Discord, I was thinking of changing its name into something like "
vapor-community/wallet
" (vapor-wallet
is already taken), for multiple reasons:Beside the name change:
vapor-community/wallet
" (vapor-wallet
is already taken) and moving all the basic logic to a new "WalletKit" repo, or the other way around, removing from here all the Vapor specific code and then creating a new Vapor driver in another repo? Either way, should we copy the existing license/copyright in both projects?APNSClient
has to be initialized with TLS using the same certs used to sign passes/orders. Right now its lifecycle is handled by vapor/apns, but to make it independent we have to use APNSwift directly and manually handle its lifecycle. I was thinking of initializing theAPNSClient
with anEventLoopGroup
provided by the web framework, and then adding ashutdown
method toPassesService
/OrdersService
so that the Vapor and Hummingbird drivers can shut it down appropriately.Application
and delegate properties, couldPassesServiceCustom
/OrdersServiceCustom
become astruct
instead of aclass
?Please let me know what do you think about all of this!