GithubHelp home page GithubHelp logo

Comments (8)

nathany avatar nathany commented on July 17, 2024

See #14.

Release notes for the project would would be nice, but since that isn't in place, git blame can be useful for seeing what changes are done and correlating those back to previous pull requests.

from apns.

willfaught avatar willfaught commented on July 17, 2024

Good tip!

OK, so it was to get around the fact that the Alert field is a value type. I still don't understand why the Alert's title and action aren't included in the zero check. That looks like a bug to me.

from apns.

nathany avatar nathany commented on July 17, 2024

You're right, it's probably a bug from working on this across a few separate pull requests.

#9 added Title and Action for Safari but apparently I didn't update isZero. 😦 🌴

from apns.

willfaught avatar willfaught commented on July 17, 2024

I've been looking through #9 and the others linked to from there, but I don't see the reason why Alert wasn't made a pointer. There's actually a post by you saying you'd changed it to a pointer. What was the reason ?

from apns.

nathany avatar nathany commented on July 17, 2024

That's a good question. Other than breaking the API, though we broke the API to make badge a pointer, so...

from apns.

taylortrimble avatar taylortrimble commented on July 17, 2024

Given that the loose coupling of the IsZero command has immediately proven to be fraught with peril, I'd support making Alert a pointer.

from apns.

nathany avatar nathany commented on July 17, 2024

Agreed. It's probably a better solution than introducing reflection or dealing with maintaining IsZero.

from apns.

bdotdub avatar bdotdub commented on July 17, 2024

Ditto. Closing in favor of #26 - with the addition of making Alert a pointer.

Feel free to reopen if there is more to discuss.

from apns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.