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

Add pre and post synaptic pathways to BG -> ES projection #4424

Merged
merged 5 commits into from
Oct 30, 2023

Conversation

shinyhappydan
Copy link
Contributor

No description provided.

@shinyhappydan shinyhappydan force-pushed the search-config-synapses branch from 7d63947 to a7fb6a8 Compare October 25, 2023 16:46
@@ -33,8 +33,9 @@ final class GraphResourceToDocument(context: ContextValue, includeContext: Boole

/** Given a [[GraphResource]] returns a JSON-LD created from the merged graph and metadata graph */
def graphToDocument(element: GraphResource): Task[Option[Json]] = {
val graph = element.graph ++ element.metadataGraph
val json =
implicit val jsonLdOptions = JsonLdOptions.AlwaysEmbed
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to set this here? Is it not possible to make it an argument to the whole class, so that we can set it to be @always only from the CompositeSink?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me have a think about this one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did what you suggested and it works. I think given that this is the smallest possible scope of change, you're right

tests/src/test/resources/kg/search/synapse.json Outdated Show resolved Hide resolved
@shinyhappydan shinyhappydan force-pushed the search-config-synapses branch from a7fb6a8 to 215fb0f Compare October 27, 2023 09:06
@shinyhappydan shinyhappydan force-pushed the search-config-synapses branch from 215fb0f to 2cdfc35 Compare October 27, 2023 19:57
@shinyhappydan shinyhappydan merged commit 652cc94 into BlueBrain:master Oct 30, 2023
@shinyhappydan shinyhappydan deleted the search-config-synapses branch October 30, 2023 08:15
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.

3 participants