Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Ignore unknown keys in appservice registration files #1567

Closed
@bodqhrohro

Description

@bodqhrohro

Background information

  • Dendrite version or git SHA: 0.2.1
  • Monolith or Polylith?: Monolith
  • SQLite3 or Postgres?: SQlite3
  • Running in Docker?: no
  • go version: 1.15

Description

Steps to reproduce

  • generate an Appservice config with matrix-appservice-node
  • provide that config in Dendrite config
  • run Dendrite

Which results in an error:

FATA[0000] Invalid config file: yaml: unmarshal errors:
  line 16: field de.sorunome.msc2409.push_ephemeral not found in type config.ApplicationService 

because the parser doesn't ignore unknown keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-App-Servicesgood first issueWant to help with Dendrite? These are the issues to start with!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions