Skip to content

unnamed_type error with primary type schema #95

@adjivas

Description

@adjivas

Hello,

Do is it possible to register a primary type' schema with Avrora?

A primary type schema is by example that:

{
    "type": "string",
    "name": "myvalue"
}

When I try to save it with the register_schema_by_name function:

Avrora.Utils.Registrar.register_schema_by_name("myschema-value")

This error happen:

13:02:04.414 [debug] reading schema `myschema-value` from the file /app/priv/schemas/myproject/myschema-value.avsc
{:error, :unnamed_type}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededinternal APIAnything related to the internal API and implementations

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions