WeChat ID
aaronpk_tv
@aaronpk Yeah, I was hoping I could debug stuff locally and not have to deploy for testing. But it's not exactly "live" code on my site that I'm using yet so it's low impact. Thanks!
@aaronpk Cool. With my Swift type I had to declare it as a type at the outset, so I just wrote up a custom decoder to check for a string, then an Int, and otherwise it will be nil. The Int gets coerced to a String if it’s there. Do you know of any good test suite I could run locally against my server?
@aaronpk I'm implementing a Micropub endpoint on a Vapor site (written in Swift). According to the Indieweb.org documentation, the state parameter “can contain anything”. Does this mean a String or Int are perfectly acceptable?
