Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Array deep reference fix#28

Merged
clicman merged 3 commits intomasterfrom
arraysFix
Oct 5, 2018
Merged

Array deep reference fix#28
clicman merged 3 commits intomasterfrom
arraysFix

Conversation

@clicman
Copy link
Copy Markdown
Contributor

@clicman clicman commented Oct 5, 2018

No description provided.

@clicman clicman requested a review from kosteman October 5, 2018 04:20
}
String arrayKey = key.split("\\[")[0];
String arrayIndex = key.split("\\[")[1].split("\\]")[0];
if (basicO.get(arrayKey) instanceof BasicDBObject && isReference((BasicDBObject) basicO.get(arrayKey))) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

это иф напрашивается быть методом или быть откоментированным. Но лучше методом

MapTests.ref.value.path=MapTests.stringValue
MapTests.ref.value.comment=Пароль пользователя No newline at end of file
MapTests.ref.value.comment=Пароль пользователя
ref\ array.value.collection= Tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ref\ - это ок?

Сидоченко Виктор Викторович added 2 commits October 5, 2018 11:38
@clicman clicman merged commit 41ebab7 into master Oct 5, 2018
@clicman clicman deleted the arraysFix branch October 5, 2018 05:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants