Commit Graph

69 Commits

Author SHA1 Message Date
Yoichiro Tanaka 036d65cdb2
Merge f2000c5544 into 2336e613dc 2025-06-17 14:18:21 +09:00
Holly Schilling 2336e613dc
Added `any` qualifier to code examples on Migrations page (#1083)
Swift 5.6 added the `any` keyword as an existential type qualifier. This
PR updates the code examples on the Migrations page to correctly
incorporate this keyword. The following languages are effected: EN, ES,
NL, IT, and ZH.
2025-06-16 09:49:18 +02:00
TheHandyOwl d6eb192bd8
Refactor: model.es.md translation to Spanish (#1082) 2025-06-01 00:51:22 +02:00
Lemo-nade-room 151df13e6b Fix mismatched heading IDs in Transaction documentation 2025-05-31 02:03:46 +09:00
Lemo-nade-room 89abfe99ea Update head to use “Update, Delete” instead of “更新, 削除” 2025-05-31 02:01:22 +09:00
Lemo-nade-room 4e6c15f3c5 Update head to use “論理削除” instead of “ソフト削除” 2025-05-31 01:49:48 +09:00
Lemo-nade-room a3501f9221 Update head to use “Save, Create, Update, Delete, Find” instead of “保存, 作成, 更新, 削除, 検索” 2025-05-31 01:46:39 +09:00
Lemo-nade-room 40b992beab Fix mismatched heading IDs in Models documentation 2025-05-31 01:43:35 +09:00
Lemo-nade-room 6af2df1fba Update head to use “Join” instead of “結合” 2025-05-31 01:43:18 +09:00
Lemo-nade-room 1661adfc5c Update head to use “Parentドキュメント” instead of “親ドキュメント” 2025-05-31 01:41:20 +09:00
Lemo-nade-room f37592046a Update head to use “Enum” instead of “列挙型” 2025-05-31 01:38:17 +09:00
Lemo-nade-room 3029c8eab1 Update head to use “論理削除” instead of “ソフトデリート” 2025-05-31 01:34:12 +09:00
Lemo-nade-room eeb0a3837f Add automatic translation of untranslated documents to Japanese using Claude 4 Opus 2025-05-30 19:10:23 +09:00
Gwynne Raskind 12b0114882
.time is not actually supported, stop claiming it is (#1078)
Pretty much what it says on the tin. Since the only change is a
deletion, no separate translation is needed.
2025-05-05 09:51:07 -05:00
Patrick Killian 1a31253d31
Fix "Model Coupling" example in Schema docs (#1073)
Amends the `UserNameMigration` code example in the "Model Coupling"
section of the Schema documentation with correct syntax. Added closing
square brackets to the dictionary literals passed into
`QueryBuilder.set(_ data:)` in multiple places.
2025-03-25 10:22:49 +01:00
TheHandyOwl fe2ba1d320
NEW: fluent > schema.es.md translation (#1071)
[#1070](https://github.com/vapor/docs/issues/1070)
2025-03-17 19:27:48 +00:00
Francisco Bretal 2b0abd625f
Update schema.md field constraints list (#1069)
A reference to .sql() was added to the Field Constraint list so that
anyone who is looking for any other options knows there is the
possibility to use SQLKit.
2025-03-17 03:51:59 -05:00
Ale Mohamad ⌘ c6b79d7114
Update Testing documentation (#1054)
Following the issues #1038 and #594, this proposal suggests updating the
Testing documentation to include Swift Testing as an alternative to
XCTest.
2025-01-22 11:00:25 +00:00
Ale Mohamad ⌘ b2fb239506
Required translation updates for Spanish (#1028)
Required translation updates for Spanish in different issues:

- #932 
- #940 
- #957 
- #963 
- #966 
- #994

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2024-12-14 17:45:36 +01:00
Yoichiro Tanaka 62a7b6c35a
Add Japanese translation for fluent/overview.md (#1003)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

I translated the "Fluent > Overview" page into Japanese.

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2024-10-08 17:07:55 +01:00
Jared Henderson 902c973c38
update postgres connect example to non-deprecated (#973)
current docs show using a deprecated initializer that produces a
warning.
2024-04-29 12:03:39 +01:00
Jorge Acosta e620dfd95f
Add Spanish translation for query.md (#934)
Add Spanish translation for `query.md` in `fluent` folder.
2024-04-09 19:49:46 +00:00
Francesco Paolo Severino a1f70a8505
Add Italian Testing, Transaction and Migration translation (#971) 2024-04-06 17:16:15 +02:00
Gao Lei 342ae636ac
There were 2 'use', changed first one to 'should' (#967) 2024-02-10 17:03:06 +00:00
Tim Condon 5170deb6e8
Add note about DTO for parent relationship (#965)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2024-02-09 15:08:15 -06:00
Gwynne Raskind 288b3ac4d7
Make the sample migration not destroy data (#962) 2024-02-07 00:03:25 +00:00
Jorge Acosta ed73175772
Add Spanish translation for schema.md (#936)
Add Spanish translation for `schema.md` in `fluent` folder.

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2024-01-18 12:06:55 +00:00
Gao Lei 30f5e0ffb3
Add Chinese translation for relations.md (#958)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
As in title
2024-01-03 11:02:16 +00:00
Wojciech Sierotowicz c9dca28ada
Remove the use of `load(on:)` in relations.md (#956)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->

As I've noticed on a [discord
conversation](https://discord.com/channels/431917998102675485/684159753189982218/1152776938281250896),
the `load(on:)` method is discouraged to be used and should be replaced
with `get(on:)`, which defaults to cache if possible.
2024-01-02 16:58:39 +00:00
Claisse Florian 35436a4697
Add French translation for transaction.md (#924) 2023-10-31 12:48:48 +00:00
Jorge Acosta f433b00c7e
Add Spanish translation for advanced.md (#913) 2023-10-16 19:45:23 +00:00
Jorge Acosta a776060ece
Add Spanish translation for transaction.md (#912) 2023-10-16 20:39:55 +01:00
Jorge Acosta 9e038227ce
Add Spanish translation for migration.md (#907)
Added Spanish translation for `migration.md` in `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-22 12:08:32 +00:00
Jorge Acosta 5033800a45
Add Spanish translation for relations.md (#906)
Added `relations.md` Spanish translation in `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-22 13:57:51 +02:00
Jorge Acosta 13c8287ad0
Add Spanish translation for model.md (#905)
Add `model.md` Spanish translation on `fluent` folder

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-09-19 12:31:30 +00:00
JIN a5a1d95b90
Update cn doc (#895)
update cn doc for PR #885
2023-09-03 21:34:19 +08:00
Paul Toffoloni b43e93cb2a
Add default hint for required values in schema (#885)
I've seen this asked more than once

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
2023-08-07 15:56:29 +00:00
JIN 88787856cd
update cn doc (#886) 2023-08-07 12:02:20 +08:00
BennyDB de38fa822a
Translate a multitude of Issues to dutch (#864)
issue included are:
#861 
#836 
#818 
#812 

Some issues have been fully translated as well:
closes #791 
closes #788 
closes #811

---------

Co-authored-by: Joannis Orlandos <joannis@orlandos.nl>
2023-07-23 23:57:31 +02:00
JIN f1728161d0
update cn doc (#832)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-06-20 19:15:39 +01:00
Ale Mohamad ⌘ a1a61444f6
Fix fluent overview notes (#834) 2023-06-14 21:32:37 +02:00
Javier Etxarri Marin 230b540237
ISSUE-816: Spanish translation for menu entry Fluent->overview. (#830)
* ISSUE-816: Spanish translation for menu entry Fluent->overview.
Also creating two files that are being referenced from overview file

* Related to ISSUE-816: Delete recently created 2 files because they are not translated and it is not necessary to have them because the system takes english in that case

* Related to ISSUE-816: Change .es.md extension in the links to only .md because it is managed automatically

* Code review done from jacortaf10

* Code review done from jacortaf10 part 2
2023-06-14 17:38:10 +00:00
Ale Mohamad cd336c7907
Example to populate pivot properties (#815)
* Add closure example to populate pivot attributes

* Tweaks made from PR feedback
2023-06-05 11:54:31 +00:00
Tim Condon 0d669a7e48
Remove all old references to the toolbox (#804) 2023-04-28 21:09:42 +00:00
Tim Condon fb66441b9f
Update docs for new template (#795) 2023-04-27 20:16:32 +01:00
JHansen e955cc0035
Fix typo in Fluent -> Advanced (#757)
* Fix typo in Fluent -> Advanced (English)

* Fix typo in Fluent -> Advanced (Dutch)

* Fix typo in Fluent -> Advanced (Chinese)
2023-01-19 10:08:56 +00:00
JIN e8867eddb6
update cn fluent advanced (#749)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2022-10-12 08:49:42 +00:00
BennyDB a0b8e9bccb
Translate pr744 (#750) 2022-10-12 09:45:16 +01:00
julianiaccopucci 8e2f07d2ea
Use of regular expressions for MongoDB (#744)
* Use of regular expressions for MongoDB

The API allows to create a Document with a regular expression to query for items, but there's no documentation about it.

Ideally the key "name" is created using FieldKey.makeMongoKey(), but the extension is internal, so we must hardcode it for now.

* Apply suggestions from code review

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2022-10-11 12:04:52 +00:00
BennyDB 813f67f1ee
Translate #741 to dutch 2022-09-30 14:05:42 +02:00