BlueBrain / BlueBrain/nexus

Improve the design of how we handle resource original source

Open
#3,700 0 comments 0 reactions 0 assignees View on GitHub
delta enhancement
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Motivation**
Right now, it is handled as plain json but we have to follow a certain set of rules about it, how we need to persist it, to extract an id, etc..

These rules should be formalized by introducing a dedicated type `Source` that would help us handle these operations and make it explicit that we are dealing with an original payload.

**Acceptance criteria**
1. The new type is introduced
2. The complexity of dealing with original source should be reduced and where we deal with it is better identified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.