From c22f66bb4d4f681d1c93670878fdf38fc1593b99 Mon Sep 17 00:00:00 2001 From: YunNote <52727797+YunNote@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:46:41 +0900 Subject: [PATCH] Add FieldReflectionArbitrary usage summary for kor/en documents (#964) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add FieldReflectionArbitrary usage summary for kor/en documents * Add FieldReflectionArbitrary usage summary for kor/en documents --------- Co-authored-by: 최윤진_트랜잭션개발팀 --- docs/content/v1.0.x-kor/docs/generating-objects/introspector.md | 2 ++ docs/content/v1.0.x/docs/generating-objects/introspector.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/content/v1.0.x-kor/docs/generating-objects/introspector.md b/docs/content/v1.0.x-kor/docs/generating-objects/introspector.md index aafbe24b9..37b641c7c 100644 --- a/docs/content/v1.0.x-kor/docs/generating-objects/introspector.md +++ b/docs/content/v1.0.x-kor/docs/generating-objects/introspector.md @@ -60,6 +60,8 @@ FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .build(); ``` +{{< alert icon="💡" text="만약 final이 아닌 변수가 선언되어 있다면 getter 또는 setter 없이도 사용 가능합니다." />}} + ## FailoverArbitraryIntrospector 프로덕션 코드에서 다수의 클래스가 있을 때 각 클래스마다 다른 설정을 가진다면 하나의 introspector로 모든 객체를 생성하기 어려울 수 있습니다. 이 경우 `FailoverArbitraryIntrospector`를 사용할 수 있습니다. diff --git a/docs/content/v1.0.x/docs/generating-objects/introspector.md b/docs/content/v1.0.x/docs/generating-objects/introspector.md index 9cdb815a1..839de99aa 100644 --- a/docs/content/v1.0.x/docs/generating-objects/introspector.md +++ b/docs/content/v1.0.x/docs/generating-objects/introspector.md @@ -50,6 +50,8 @@ FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .build(); ``` +{{< alert icon="💡" text="If there are non-final variables declared, they can be instantiated without the need for getters or setters." />}} + ## BuilderArbitraryIntrospector To generate a class using the class's builder, you can use `BuilderArbitraryIntrospector`. It requires that the class has a builder.