question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Embedding Some Relationships, but Not All

See original GitHub issue

Is it possible to embed some of the relationships, but not all of them?

It seems like the embed serializer is an all-or-nothing type of deal, without allowing for some relationships to be embedded and others to be “normal”. Weird as that requirement might be, it’s a situation we’re running into right now!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
samselikoffcommented, Mar 29, 2021

Yep I think function is best direction 👍 If I were starting over today that would probably be the “base” type since it’s the most flexible. Don’t think it’s a problem that it adds a new possible type for the value!

0reactions
alexlafrosciacommented, Mar 29, 2021

Absolutely! Making every configuration option able to be defined as a function – or even better, an async function – just adds so much flexibility. Definitely the way to go!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resource embedding on views doesn't work on N-to ... - GitHub
Work-around (not really usable in production environment):. in your PostgREST exposed schema, create tables (instead of views); start PostgREST, and check that ...
Read more >
Embeddings in Machine Learning: Everything You Need to ...
The vector space quantifies the semantic similarity between categories. Embedding vectors that are close to each other are considered similar.
Read more >
Embeddings: A Matrix of Meaning - Petuum, Inc. - Medium
An embedding matrix is a list of all words and their corresponding embeddings. A few things to keep in mind: Thinking in higher...
Read more >
Word Embeddings - Language Jones
Even with messy data, there are some intriguing relationships: jawn is right between miss and sombody/sumn (and forms a triangle with somebody/ ...
Read more >
Introduction to Knowledge Graph Embedding - dglke
TransE cannot cover a relationship that is not 1-to-1 as it learns only one aspect of similarity. TransR addresses this issue with separating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found