Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typo for dto-tutorial/01-simple-dto-exclude #2959

Merged
merged 1 commit into from
Jan 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/dto-tutorial/01-simple-dto-exclude.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exclude the ``email`` field from the DTO, but there are many other configuration
of them in this tutorial.

The :class:`DataclassDTO <litestar.dto.dataclass_dto.DataclassDTO>` class is a factory class that specializes
in creating DTOs from dataclasses. It is also a :class:`Generic <typing.Generic>` class, which means that it it accepts
in creating DTOs from dataclasses. It is also a :class:`Generic <typing.Generic>` class, which means that it accepts
a type parameter. When we provide a type parameter to a generic class it makes that class a specialized version of the
generic class. In this case, we create a DTO type that specializes in transferring data to and from instances of the
``Person`` class (``DataclassDTO[Person]``).
Expand Down