Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Since 7.5.0: Cannot ignore missing proto files anymore #2078

Open
@vikingair

Description

I used to have:

root.resolvePath = (_origin: string, target: string) =>
 // Google types will be centrally defined
 target.startsWith("google") ? null : path.join(Config.get().rootDir, target);

which works perfectly fine with Version 7.4.0. Every higher version however, started to throw an error when returning null from resolvePath.


I have a custom generator reading proto files, that simply defines central interfaces for all google types and build-in types. I want a way to simply ignore these and/or filter them.

What is the new workaround for that breaking change hidden in a minor update? Can you help me out?

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

        AltStyle によって変換されたページ (->オリジナル) /