Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update cookbook for couch and phpcr and give some more hints and background#2669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 1 commit intosymfony:2.3fromdbu:couchdb-phpcr-reusable-models
Jun 30, 2013
Merged

update cookbook for couch and phpcr and give some more hints and background#2669

weaverryan merged 1 commit intosymfony:2.3fromdbu:couchdb-phpcr-reusable-models
Jun 30, 2013

Conversation

dbu
Copy link
Contributor

@dbudbu commentedMay 27, 2013

QA
Doc fix?yes
New docs?partially
Applies to2.3
Fixed tickets

adding the missing doc for couchdb and phpcr, and giving some more information.

$container->addCompilerPass(
DoctrinCouchDBMappingsPass::createXmlMappingDriver(
$mappings, 'fos_user.backend_type_couchdb'
));
Copy link
Member

Choose a reason for hiding this comment

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

$container->addCompilerPass(    DoctrineCouchDBMappingsPass::createXmlMappingDriver($mappings,'fos_user.backend_type_couchdb'    ));

@dbu
Copy link
ContributorAuthor

dbu commentedMay 27, 2013

thanks for the feedback, fixed all 4 issues.

. '\Compiler\DoctrineCouchDBMappingsPass';
if (class_exists($couchCompilerClass)) {
$container->addCompilerPass(
DoctrinCouchDBMappingsPass::createXmlMappingDriver(
Copy link
Member

Choose a reason for hiding this comment

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

Typo DoctrineCouchDBMappingsPass

@dbu
Copy link
ContributorAuthor

dbu commentedMay 27, 2013

ups, fixed and made Doctrine consistently uppercase

@wouterj
Copy link
Member

👍 (could you please squash?)

Nice to see another gab filled with some content!

@dbu
Copy link
ContributorAuthor

dbu commentedMay 27, 2013

squashed the commits

@dbu
Copy link
ContributorAuthor

dbu commentedJun 10, 2013

any reason not to merge this?

@wouterj
Copy link
Member

No. I just think Ryan didn't get to this PR. He often wants to test these big PRs before merging and that means some more time than the minor typo fix PRs.

@dbu
Copy link
ContributorAuthor

dbu commentedJun 10, 2013

ah ok then. would have been bad if we each wait on the other to act :-)

and i start referring people to that cookbook entry and then noticed its not complete yet...

And place your mapping file into `/Resources/config/doctrine-base` with the
fully qualified class name, separated by `.` instead of `\\`, for example
`Other.Namespace.Model.Name.orm.xml`. You may not mix the two as otherwise
the SymfonyFileLocator will get confused.
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

oh ups. on the plus side of this being not yet merged: i just detected i did not update after discovering an issue i had.

@beberlei do you have any input on this, does it make sense to recommend this solution?

@dbu
Copy link
ContributorAuthor

dbu commentedJun 10, 2013

right, thanks for the inputs WouterJ. fixed and squashed again.

And place your mapping file into ``/Resources/config/doctrine-base`` with the
fully qualified class name, separated by ``.`` instead of ``\``, for example
``Other.Namespace.Model.Name.orm.xml``. You may not mix the two as otherwise
the SymfonyFileLocator will get confused.
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@beberlei do you have any input on this, does it make sense to recommend this solution?

weaverryan added a commit that referenced this pull requestJun 30, 2013
update cookbook for couch and phpcr and give some more hints and background
@weaverryanweaverryan merged commite0b83a3 intosymfony:2.3Jun 30, 2013
weaverryan added a commit that referenced this pull requestJun 30, 2013
1) Fixed missed second argument to the `createXmlMappingDriver` methods2) Clarified the final note about the SymfonyFileLocator3) Other minor changes
@weaverryan
Copy link
Member

Hey David!

I've just merged this in - apologies for the delay, I wanted to have some time to actually look and understand this feature. I've made some changes at sha:e55f0f7, which include adding a missing second argument to thecreateXmlMappingDriver method. Please let me know if I've missed something or made a mistake.

Thanks!

weaverryan added a commit that referenced this pull requestJul 1, 2013
@dbu
Copy link
ContributorAuthor

dbu commentedJul 1, 2013

No worries, thanks for the cleanups, seems i did not sync with the changes in the pr. Now lets help people actually can use this

@dbudbu deleted the couchdb-phpcr-reusable-models branchJuly 29, 2014 21:56
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@dbu@wouterj@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp