Skip to content

Schemas are broken #1474

Open
Open
@jl-wynen

Description

@jl-wynen

The different dataset schemas are inconsistent with each other. As I understand it, you are in the process of changing them. But the current broken versions have been released and so affect Scitacean.

  • The dataset class now uses lists for instrumentIds, proposalIds, sampleIds. But the creation DTOs still use the old scalar instrumentId, proposalId, samplesId, where the derived dataset only has proposalId.
  • Investiagor:
    • Classs: principalInvestigator
    • Raw DTO: investigator and principalInvestigator
    • Derived DTO: investigator
  • Type: An enum in the class and a plain string in the DTOs. Used to be an enum everywhere. Given that it is going to be more flexible, a plain string is probably best.

Can the above be fixed easily and quickly? Scitacean is currently broken and needs to be updated. But that requires a lot of manual hacks to account for the above inconsistencies. I would prefer to not do this since it would be temporary anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions