Skip to content

Add failing unittest for reverse relations using self reference#2089

Closed
migeed-z wants to merge 3 commits intofacebook:mainfrom
migeed-z:export-D90517772
Closed

Add failing unittest for reverse relations using self reference#2089
migeed-z wants to merge 3 commits intofacebook:mainfrom
migeed-z:export-D90517772

Conversation

@migeed-z
Copy link
Contributor

Reviewed By: yangdanny97

Differential Revision: D90517772

Copy link
Contributor

@yangdanny97 yangdanny97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@github-actions

This comment has been minimized.

migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
@meta-codesync
Copy link

meta-codesync bot commented Jan 13, 2026

@migeed-z has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90517772.

@github-actions

This comment has been minimized.

…rd) (facebook#2087)

Summary:

Here, we test the related_name keyword which allows us to customize the reverse relation

Reviewed By: aleivag

Differential Revision: D90517278
Summary:

We can use the "+" symbol to avoid creating a reverse relation. This is important to test so we can make sure we are avoiding creating that field if it is not needed

Reviewed By: aleivag, yangdanny97

Differential Revision: D90517596
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
@github-actions
Copy link

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@migeed-z migeed-z closed this Jan 13, 2026
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
migeed-z added a commit to migeed-z/pyrefly that referenced this pull request Jan 13, 2026
…book#2089)

Summary: Pull Request resolved: facebook#2089

Reviewed By: yangdanny97

Differential Revision: D90517772
meta-codesync bot pushed a commit that referenced this pull request Jan 13, 2026
Summary: Pull Request resolved: #2089

Reviewed By: yangdanny97

Differential Revision: D90517772

fbshipit-source-id: 18b7cdde484036f2f64e46f447e8c5bdf70c49b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants