Giter VIP home page Giter VIP logo

Comments (5)

jonatkins avatar jonatkins commented on August 23, 2024

I just noticed this issue had been left untouched!

Making that exact change would break existing plugins, yes?

However, adding new fields without changing existing data is fine. So just add in the portal guid?

from ingress-intel-total-conversion.

Fragger avatar Fragger commented on August 23, 2024

I was just going to comment on this also. Just looked into it, and yeah I agree with jonatkins. We can add in portalGuid and oldPortalGuid to the callback or something similar.

from ingress-intel-total-conversion.

Fragger avatar Fragger commented on August 23, 2024

Oh actually only need portalGuid as they are both the same. Opps.

from ingress-intel-total-conversion.

TheMeier avatar TheMeier commented on August 23, 2024

Yes it would break existing plugins, but there are none which use it in your version yet. The proposed Fix from Fragger also changes the hooks-api. If you decide the api i think its much better to pass the whole portal for more flexibility. Someon might want to access the other aspects too.

from ingress-intel-total-conversion.

jonatkins avatar jonatkins commented on August 23, 2024

adding a new field doesn't break compatibility when it comes to the API - passing a different data structure to an existing field does.

Also, just because we have no plugins using the API, it doesn't mean that others don't. There are many plugins out there, some developed for personal use, some for use within regional communities, and some elsewhere on Github.

@Fragger's change has been accepted and I'm closing this for now. We can always add more new fields later if the need arises for additional data - including one such as "portalv2: ent" if a need for the larger data structure is required.

from ingress-intel-total-conversion.

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.