Skip to content

v0.68 seems to break object initializers #640

Description

@TheArcaneBrony

Log exerpt:

unknown initializer for property error: {
        count: 10,
        window: 5,
    }
unknown initializer for property guild: {
        count: 5,
        window: 5,
    }
unknown initializer for property webhook: {
        count: 10,
        window: 5,
    }
unknown initializer for property channel: {
        count: 10,
        window: 5,
    }

Seems the old behavior included these fields in the schema...

Additionally, it doesn't seem to support math:

unknown initializer for property window: 60 * 60 * 1000

(admittedly, i do need to go write proper schemas for these since im just aliasing classes as models here... so these values are just class defaults rather than proper types)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions