Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a lookup function for meta key objects #696

Merged
merged 1 commit into from
Aug 3, 2015

Conversation

Martii
Copy link
Member

@Martii Martii commented Aug 3, 2015

  • Begin a smaller step for existing code migration for metadata blocks... not a full optimization round... so please be patient.
  • Mimic the lookup routine from mongoose as well as a few more finite components of parsing from CI... return null instead of undefined like mongoose when not matched
  • Wasn't sure if it should be named findMeta or queryMeta but easily changed if wanted
  • Some STYLEGUIDE.md conformance
  • Restore original behavior of tampering with collaboration changed from Hotfix for a potential security issue #686
  • Add @icon64 to uniques since existing routine only handled one.

NOTES
findMeta should be compatible with pegjs structure as I built/tested it on that branch and imported it into current HEAD and retested

Applies to #285

* Begin a smaller step for existing code migration for metadata blocks... **not a full optimization round**... so please be patient.
* Mimic the lookup routine from *mongoose* as well as a few more finite components of parsing from CI... return `null` instead of `undefined` like *mongoose* when not matched
* Wasn't sure if it should be named `findMeta` or `queryMeta` but easily changed if wanted
* Some STYLEGUIDE.md conformance
* Restore original behavior of tampering with collaboration changed from OpenUserJS#686
* Add `@icon64` to uniques since existing routine only handled one.


**NOTES**
`findMeta` should be compatible with *pegjs* structure as I built/tested it on that branch and imported it into current HEAD and retested

Applies to OpenUserJS#285
@Martii Martii added bug You've guessed it... this means a bug is reported. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. migration Use this to indicate that it may apply to an existing or announced migration. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Aug 3, 2015
Martii added a commit that referenced this pull request Aug 3, 2015
Use a lookup function for meta key objects

Auto-merge... fully retested collaboration
@Martii Martii merged commit e842564 into OpenUserJS:master Aug 3, 2015
@Martii Martii deleted the Issue-285lookupMeta branch August 3, 2015 09:24
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Aug 4, 2015
* Unable to find documentation on the wildcard at this time but appears that it doesn't work... closest match is an issue on *mongoose* at 3213 ... nothing I've tried works there with `{ type : Object, index : true }` or other type ... this probably isn't the final solution and another QSP would be useful to limit scope and perhaps another of exclusion of scope... but these are all encompassing searches for now.
* Those stray commas again
* Change casing on `WATCHPOINT` back to `NOTE: Watchpoint` for grep'ability

Applies to post fix OpenUserJS#696, patch for OpenUserJS#490, and solution needed in OpenUserJS#485
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. migration Use this to indicate that it may apply to an existing or announced migration.
Development

Successfully merging this pull request may close these issues.

1 participant