Skip to content

First batch of edits#106

Merged
msullivan merged 9 commits intomainfrom
e1
Feb 26, 2026
Merged

First batch of edits#106
msullivan merged 9 commits intomainfrom
e1

Conversation

@1st1
Copy link
Member

@1st1 1st1 commented Feb 26, 2026

No description provided.

@1st1 1st1 requested a review from msullivan February 26, 2026 20:46
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
python-typemap Ready Ready Preview, Comment Feb 26, 2026 10:17pm

of ``user`` that were requested; one of the requested elements,
``posts``, is a "relation" referencing another model; it has *all* of
its properties fetched but not its relations.
Here, the output type is an intersection of the existing information
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't feel super strongly, but I was avoiding the word intersection because it's a technical term and we aren't adding intersection types

the database ``user`` table) and the type of the argument to
the ``findMany`` method. It returns an array of objects containing
the properties of ``user`` that were explicitly requested;
where ``posts`` is a "relation" referencing another type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not worth keeping the explanation that posts only includes properties?

pep.rst Outdated
Comment on lines +143 to +144
Even further, the IDE would offer code completion for
all arguments of the ``db.select()`` call, recursively.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would probably soften to "an IDE could", since we aren't really making a requirement of that?

But also, with the way the query builder example is implemented right now, I think this is not true. There are ways of doing it where it would work, though; should I look into updating the example?

@msullivan msullivan merged commit 14b3623 into main Feb 26, 2026
5 checks passed
@msullivan msullivan deleted the e1 branch February 26, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants