Skip to content

Conversation

@luigifgp
Copy link

@luigifgp luigifgp commented Mar 7, 2024

Currently objects such as options.language or pageOptions.language are unabled to use changing the default field for languageField.

On this PR we are using just-safe-get library, to Get the value at property level. This way we solve fields like:
"abc[0].language"
"a.abc.language"
"cde.abc.b.language"

feel free to share your opinion about it.

@socket-security
Copy link

socket-security bot commented Mar 11, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

@SimeonGriggs
Copy link
Contributor

Cool feature!

Could you add an update to the Language Field section of the readme so people are aware of this possibility?

@luigifgp
Copy link
Author

luigifgp commented Apr 4, 2024

Read me updated! :)

@luigifgp luigifgp force-pushed the nested-object-with-language-field branch from e1e0750 to 8328201 Compare April 17, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants