8000 Edge schema doesn't work will with privacy · Issue #2740 · ent/ent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Edge schema doesn't work will with privacy #2740
Closed
@amrnt

Description

@amrnt

Privacy (and maybe hooks) doesnt work with m2m relation that has fields on the edge.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

The generated code doesn't compile

Expected Behavior 🤔

Generator should not yield uncompilable code

Steps to Reproduce 🕹

Steps:

  1. Check this branch/commit: amrnt@00a0bae
  2. The code generated already doesn't work, especially such lines: amrnt@00a0bae#diff-15eb77dee058680d9661d82747d6f09e9b1aaeab2fed788032a7fa69fec1bb8fL309-R328

Your Environment 🌎

Tech Version
Go 1.18
Ent master
Database Postgres
Driver pgx

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

      0