Git Product home page Git Product logo

payload-backpop's People

Contributors

alessiogr avatar timhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

payload-backpop's Issues

Demo app doesn't build

It appears that there is some sort of undocumented setup required to use the Demo app? Maybe a symlink of some sort, as the demo has "payload-backpop": "file:./plugin"

Could this be updated to use yarn workspaces, to make it easier for collaborators with a dev/test environment?

Project Status, Publish on NPM, Upgrade to Payload 2.0?

Hey @TimHal and @AlessioGr -

Great work here - inverse relationships are a big problem with Payload not being able to query incoming relationships. I'm not 100% sure that actually materializing the inverse relationship is the best approach, especially with the huge performance improvements of $lookup in MongoDB 7.0, not to mention the introduction of relational DB support with Drizzle ... but in any case, I think this approach still makes a lot of sense in certain situations where you could have a huge amount of polymorphic relationships.

So ... what's the status on the project? Are either or both of you running it in any kind of production environment? Are you still planning on publishing to NPM? What about upgrading to Payload 2.0?

I can certainly help out with some tests and pull requests, but I wanted to make sure that this library is still being worked on ... otherwise I might explore my own approach probably starting with inverse lookups. If you're looking to continue work on this project, then I'd love to collaborate.

Target Field Name Doesn't Support Hyphens

I have some collection slugs that contain hyphens - which aren't allowed in GraphQL requests/can't be a field name. I've solved this locally by doing this... Something to consider if it wasn't on your radar already!

const targetFieldName = `${collection.slug.replace('-', '_')}_${field.name}_backpopulated`;

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.