小饭团
efc8fd9942
Fixed docs for validatoin. ( #5653 )
...
Co-authored-by: lujunyi <lujunyi@shopex.cn>
2023-04-21 17:33:21 +08:00
李铭昕
c422dad528
Use Hyperf\Context\ApplicationContext
instead of Hyperf\Utils\ApplicationContext
. ( #5621 )
2023-04-11 15:57:32 +08:00
李铭昕
4e3662aef4
Use Hyperf\Collection\Arr
instead of Hyperf\Utils\Arr
. ( #5594 )
2023-04-02 21:17:26 +08:00
Deeka Wong
1b47584aa8
Added forceDeleting event ( #5366 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-08 14:42:10 +08:00
Deeka Wong
31822a9f14
Adds addRestoreOrCreate
extension to SoftDeletingScope
( #5338 )
2023-02-05 10:57:17 +08:00
李铭昕
e2b188bc4c
Merge branch '2.2' into 3.0-merge2
...
# Conflicts:
# docs/en/component-guide/configprovider.md
# docs/en/component-guide/create.md
# docs/en/component-guide/intro.md
# docs/en/db/model.md
# docs/en/release-planning.md
# docs/zh-cn/db/model.md
# docs/zh-cn/release-planning.md
# docs/zh-hk/db/model.md
# docs/zh-hk/release-planning.md
# docs/zh-tw/db/model.md
# docs/zh-tw/release-planning.md
2022-11-24 16:09:08 +08:00
huangzhhui
fff4cb5e2c
Update
2022-11-23 11:14:43 +08:00
李铭昕
a6aa10796c
Don't support database commands by default, please require hyperf/devtool
or set them in autoload/commands
. ( #4979 )
2022-08-03 19:00:16 +08:00
chengyao
3e84c9bbc1
Fix typos ( #4968 )
2022-07-30 13:57:59 +08:00
李铭昕
b086d98a0d
Merge branch 'master' into 3.0-merge
...
# Conflicts:
# .github/workflows/test.yml
# src/di/src/Annotation/Scanner.php
# src/di/tests/InjectTest.php
2022-01-17 14:19:56 +08:00
Tall
52094d0fad
Update English document about Annotation.
...
- Added demo for query builder.
- Added meilisearch client into awesome components.
Co-authored-by: codelin <494020937@qq.com>
Co-authored-by: Alone88 <im@alone88.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-01-13 12:09:04 +08:00
朱梦阳
e1544beec5
Update all documents about annotations. ( #4264 )
...
Co-authored-by: zmy <my.zhu@knowyourself.cc>
Co-authored-by: 沈唁 <52o@qq52o.cn>
Co-authored-by: 李铭昕 <l@hyperf.io>
2021-11-20 10:58:02 +08:00
MrYup
cdd316008f
Update querybuilder docs ( #4247 )
...
Fix typo
2021-11-11 17:08:04 +08:00
李铭昕
ddf7033254
Fixed bug that @Crontab
does not works when used in methods. ( #3450 )
2021-04-03 17:00:28 +08:00
李铭昕
a4dd9c37aa
Optimized code for guessing the return type for custom caster when using gen:model
. ( #3367 )
2021-03-14 17:49:28 +08:00
pluveto
21afc43c31
Update model.md ( #3339 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-03-07 10:30:48 +08:00
wdaglb
2ab4c091a1
Added Blueprint::comment()
which you can set comment of table for migration. ( #3310 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-25 10:56:23 +08:00
pandaLIU
390e70839e
Added method ConnectionInterface::run(Closure $closure)
for hyperf/db
. ( #3066 )
...
* Added method `ConnectionInterface::run(Closure $closure)` for `hyperf/db`
* Update CHANGELOG-2.1.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 15:50:28 +08:00
李铭昕
a8ea182146
Merge branch 'master' into 2.1-merge
2020-12-14 19:25:02 +08:00
沈唁
0ff57ebcd9
Fix typo ( #2916 )
...
* Fix typo
* Update AbstractController
2020-12-03 15:58:26 +08:00
沈唁
ac470e13ee
Upgraded doctrine/dbal to ^3.0 ( #2901 )
...
* Upgraded doctrine/dbal to ^3.0
* Update Connector.php
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-01 14:55:18 +08:00
沈唁
59974284fb
Update migration.md ( #2900 )
...
* Update migration.md
* Update migration.md
2020-12-01 11:12:28 +08:00
沈唁
5ae997c464
Fixed namespace for documents. ( #2869 )
...
* Fix namespace
* Update CHANGELOG-2.0.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-11-25 18:10:31 +08:00
阿祥
867c5c9fc7
fix typo ( #2843 )
...
Co-authored-by: 池安祥 <chianxiang@bornmega.com>
2020-11-21 10:15:35 +08:00
djunny
f0a8d72d36
Added method getCacheTTL
for CacheableInterface
which can control cache time each models. ( #2682 )
...
Co-authored-by: dj <github@djunny.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-21 10:02:30 +08:00
李铭昕
13d0fb58cc
v2.0.14 ( #2631 )
...
* v2.0.14
* Update translation
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-10-12 10:40:47 +08:00
李铭昕
aaaef039d6
Optimized documents. ( #2610 )
2020-10-05 08:31:32 +08:00
李铭昕
48ca8d1616
Format composer.json
2020-10-04 18:42:03 +08:00
李铭昕
895ba2ade7
Merge branch 'master' into pr/1969
2020-10-04 18:27:39 +08:00
李铭昕
c092a97769
Update model-cache.md ( #2552 )
2020-09-20 10:24:52 +08:00
nfangxu
86c6e0d217
docs: 更新 transformer 为 resource
2020-09-18 17:53:35 +08:00
李铭昕
ed517bce08
Added optional visitor ModelRewriteGetterSetterVisitor
for gen:model
. ( #2463 )
...
* Added AbstractVisitor.
* Added BetterReflectionManager.
* Support getter and setter.
* Update document.
2020-09-09 14:40:23 +08:00
ninvfeng
8a5e422a97
Fixed typo ( #2453 )
2020-09-07 14:44:11 +08:00
nfangxu
d120b48364
docs: 添加 transformer 相关文档
2020-09-07 10:07:02 +08:00
huangzhhui
380cf96c3e
Merge remote-tracking branch 'upstream/master' into pr/1969
2020-09-07 00:34:42 +08:00
李铭昕
cb6640215f
Optimized error message when does not set the value of @var for @Inject. ( #2429 )
2020-09-03 18:22:50 +08:00
李铭昕
e919359448
Fixed enable-event-dispatcher
does not exists. ( #2426 )
...
* Added doc for how to rewrite cast.
* Update CHANGELOG-2.0.md
* Update quick-start.md
2020-09-03 17:27:40 +08:00
李铭昕
7cf763717c
v2.0.9 ( #2385 )
...
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-08-31 13:40:33 +08:00
Fangx
200fd22cd5
Update document ( #2372 )
...
* fix: 更新文档示例代码
* Update quick-start.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-08-28 18:13:38 +08:00
nfangxu
d46d58d36b
docs: update transformer docs
2020-08-10 10:00:27 +08:00
李铭昕
9beaa82535
Optimized code for resource.
2020-08-07 13:33:45 +08:00
李铭昕
8703b9fead
Format code.
2020-08-07 09:47:28 +08:00
李铭昕
9925bb25ae
Merge branch 'master' into pr/1969
2020-08-07 09:40:38 +08:00
沈唁
50cd5ebfe6
fix typo ( #2238 )
2020-08-03 18:32:06 +08:00
motian
bbf8ae4793
[FEATURE] Added ModelRewriteTimestampsVisitor ( #2174 )
...
Added `ModelRewriteTimestampsVisitor` to rewrite `$timestamps` based on `created_at` and `updated_at`
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:43:43 +08:00
motian
864a9ba2be
Added ModelRewriteSoftDeletesVisitor
to insert or remove SoftDeletes
based on deleted_at
( #2175 )
...
* Added ModelRewriteSoftDeletesVisitor
* Added `ModelRewriteSoftDeletesVisitor` to insert or remove `SoftDeletes` based on `deleted_at` for Model.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:28:39 +08:00
motian
11e6447886
[FEATURE] Added ModelRewriteKeyNameVisitor ( #2176 )
...
Added `ModelRewriteKeyInfoVisitor` to rewrite `$incrementing` `$primaryKey` and `$keyType` for Model.
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 12:28:31 +08:00
李铭昕
84a817b3d7
Added test cases for morphTo.
2020-07-07 10:02:50 +08:00
李铭昕
9651428dcf
Added document.
2020-07-05 15:49:55 +08:00
motian
1040082e12
Update model.md ( #2040 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-04 09:38:37 +08:00