Skip to content

Consider making more use of enums/sum type objects to improve ability to catch typos etc. #33

@dpk

Description

@dpk

Arose in #32 where I couldn’t understand while testing why requesting a bundle embed wasn’t working (it’s called bundles with an s).

In this case and maybe others we should consider adding an alternative interface based on Python objects where you get some kind of error when you misspell their names. (In the case of embeds the string-based interface is fine as a lower-level alternative which allows more flexibility in case e.g. upstream DSpace ever adds more embed types)

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