Giter VIP home page Giter VIP logo

simpledoctrinemapping's People

Contributors

cordoval avatar mmoreram avatar nacmartin avatar rogergros avatar sfblaauw avatar xphere avatar ysramirez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

simpledoctrinemapping's Issues

support for annotations?

even though annotations is just plain wrong in the long run for this use case

I wonder if for some legacy projects this can be supported

support array configuration

would be nice to just set a parameter array with several entries for several repositories at once and have the compiler pass build it all

CompilerPass with symfony ContainerAwareCommand

I'm trying this bundle to develop reusable bundles and I found that everything works as expected but Command related code. It seems the CompilerPass is ignored when you use EntityManager inside a ContainerAwareCommand:

Example:

class ExpireTokenCommand extends ContainerAwareCommand
{
    protected function execute(...)
    {
        $em = $this->getContainer()->get('doctrine.orm.entity_manager');
        $em->getRepository("FooBarBundle:SomeEntity");
    }
}

It returns

 Unknown Entity namespace alias 'FooBarBundle'

Bot the other functional tests are passing

Any idea why?

MappingDriverChain

I wonder what MappingDriverChain is really doing: Removing it (or just removing every method so they will be inherited from the parent) works the same in our code, which makes heavy usage of this functionality. Even more: this class assumes every Driver inherits from FileDriver, which fails when any manual mapping is done. Removing this class makes simple-mapping, manual-mapping and auto-mapping work out of the box. Am I missing something?

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.