Skip to content

Class diagnostics (auto-completing extends, classSelfMismatch) not working on Model.Class in Effect v4 beta #657

@pawelblaszczyk5

Description

@pawelblaszczyk5

What version of Effect is running?

4.0.0-beta.14, 0.76.0 language service

What steps can reproduce the bug?

Try to use Model.Class autocomplete, it doesn't trigger:

Image

In comparison to Schema.Class etc:

Image

Same for self mismatch diagnostics:

Image

What is the expected behavior?

All of these should trigger on Model.Class in v4 still

What do you see instead?

Model.Class doesn't trigger any of Class goodies

Additional information

I've looked through merged PRs and spotted this:

https://github.com/Effect-TS/language-service/pull/637/changes

Disable v3-only completions (...Model.Class) when Effect v4 is detected

Is there something that I'm missing here? Model.Class still exists is v4 (imported from different path). Is it an oversight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions