Git Product home page Git Product logo

Comments (7)

bjyoungblood avatar bjyoungblood commented on May 21, 2024

I don't personally know/use Doctrine, but I gladly accept pull requests for fixes. I believe @Ocramius said he was going to take a closer look at Doctrine integration.

from bjyauthorize.

pensiero avatar pensiero commented on May 21, 2024

Don't you do this? https://github.com/bjyoungblood/BjyAuthorize/blob/master/src/BjyAuthorize/Provider/Identity/ZfcUserDoctrine.php

from bjyauthorize.

Ocramius avatar Ocramius commented on May 21, 2024

@gamempire yes, it is possible to achieve that by adding mappings for the role entity (xml/yaml/php, your choice). I'm not sure how to achieve that without coupling BjyAuthorize to Doctrine though.
Ideally, I would just have ZfcUserDoctrineORM to be coupled to DoctrineModule only (therefore removing the "ORM" part in the module name), and am still thinking about how to achieve that too.

from bjyauthorize.

Ocramius avatar Ocramius commented on May 21, 2024

@gamempire that part is just a raw SQL query, while it should eventually use DQL or an ObjectRepository (better)

from bjyauthorize.

pensiero avatar pensiero commented on May 21, 2024

I don't know what i saying but, in ZfcUser, after enabling ZfcUserDoctrineORM and running orm:schema-tool:update --force
it create the tables for me.

from bjyauthorize.

Ocramius avatar Ocramius commented on May 21, 2024

@gamempire that's exactly because the mappings are missing, but having BjyAuthorize register them would be assuming that BjyAuthorize depends on DoctrineModule...

from bjyauthorize.

Hounddog avatar Hounddog commented on May 21, 2024

And if we just do the same for BjyAuthorize as in ZfcUser? i mean create BjyAuthorizeDoctrine

from bjyauthorize.

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.