Skip to content

Missing Components returns old coding style #655

Description

@livacengiz

Missing Components features returns old convention coding style.
it should without builder like conventions.Add..

function renderTypeSample([ type ]) {
  return String.raw`builder.Conventions.AddTypeComponent${component ? `<${component}>` : ""}(
    when: c => c.Type.Is<${type}>(),
    where: cc => cc.Path.EndsWith(${path.map(p => `"${p}"`).join(", ")}),
    component: () => ${component ? "..." : "B.Text()"}
);`;

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

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions