Allow modelKey to be a nested field
See original GitHub issueI am trying to migrate my existing project from lounge to ottoman, but my existing project stores type in a meta
object. Since this is a nested field, I’m not currently able to set modelKey
to meta.type
without getting a Couchbase InternalServerFailureError
. I would issue a pull-request, but I would need some help on where to get started with this change. I’m not sure how difficult it would be. Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (5 by maintainers)
Top Results From Across the Web
Custom Component Nested Object · Issue #2172 · ngx- ...
I've checked your documentation for Custom Templates https://formly.dev/guide/custom-formly-field However I have no idea how to create more ...
Read more >Nested field type | Elasticsearch Guide [8.5]
The nested type is a specialised version of the object data type that allows arrays of objects to be indexed in a way...
Read more >Use rails nested model to *create* outer object and ...
I'm using Rails 3.2.8 and running into the exact same problem. It appears that what you are trying to do (assign/update an existing...
Read more >API (GraphQL) - Add relationships between types - Amplify Docs
Relationships between types are specified by annotating fields on an @model ... Note how a one-to-many connection needs an @key that allows comments...
Read more >ModelParametersSchemaV3 (h2o-core version 3.10.0.3 API) - AWS
Nested classes/interfaces inherited from class water.api.schemas3. ... A model key associated with a previously trained model. Distribution.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @AV25242. Yes, we are currently in the process of migrating from lounge to ottoman using version 2.2.0. We haven’t hit any show-stoppers yet. Thanks!
Hello @AV25242, thanks for your consideration of this request. I understand that ottoman creates a GSI to handle the
model.find
operations and I’m okay with that. We currently have a GSI formeta.type
lookups that we created, but I imagine it would get replaced with the ottoman created one after the transition. I am completely okay withmodelKey
being immutable and would expect it to be. I think limiting the nesting depth of themodelKey
is perfectly reasonable. We don’t currently have any plans to migrate away from using the_default
scope/collection, but I believe I understand the implications if we do down the road.