Skip to content

Experimental decorators: don't use them? #251

@mlenser

Description

@mlenser

Experimental decorators have presented problems throughout our usage of subsquid. I can't remember all of the instances, but many common solutions don't work with them and making decorators work has been a huge pain for our team.
One example: today we were considering building our indexer with esbuild to avoid cjs/esm issues, but esbuild doesn't work well with decorators. It may be possible to make them work like we've done in a handful of other cases, but it's a huge drag.

Has there been any discussion about not using experimental decorators?

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