Skip to content

Conversation

@jmikola
Copy link
Contributor

@jmikola jmikola commented Mar 22, 2011

No description provided.

Added Acme vendor (also used in Validation chapters) and removed "bundle:object" syntax, which doesn't seem to be supported anymore.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The short syntax doesn't work here? (e.g. AcmeMyBundle:UserRepository or on any of the providers? Just double-checking, if not - do we know if that's by design or a bug?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I briefly tried the short syntax in our OpenSky codebase and received an exception that the class "bundle_name:repository_name" couldn't be found. And that bundle name was in the ODM config's "mapping" block. If this did work in the past, perhaps it's a regression?

FWIW: We use the short syntax frequently in Doctrine methods, and those all still work, but not in annotations.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool - just wondering - if it's a bug, it'll get worked out and we'll iron it out in the docs later.

@weaverryan weaverryan merged commit 3cc43a8 into symfony:master Mar 24, 2011
@weaverryan
Copy link
Member

Thanks, you rock!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants