Skip to content

Gradle plugin can generate invalid interfaces #829

@Jolanrensen

Description

@Jolanrensen

Having a file contain characters like "." or "-" can result in uncompilable code if no name is given.
like:

dataframes { 
  schema {
    data = "/file"
  }
}

By default it will name the interface "the-exact-name-of-the-file" and they don't get surrounded with "`".
In fact, trying to name it manually with "`" characters throws an exception, as that character is "invalid".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions