Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c50ef79

Browse files
committed
fixed code-gen note
1 parent 10f740c commit c50ef79

File tree

2 files changed

+2
-156
lines changed

2 files changed

+2
-156
lines changed

guides/v2.0/config-guide/cli/config-cli-subcommands-compiler.md

Lines changed: 0 additions & 154 deletions
This file was deleted.

guides/v2.0/extension-dev-guide/code-generation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ A proxy is a wrapper for a base class, and the proxy must implement all function
3939
You can use the <a href="{{ site.gdeurl }}config-guide/cli/config-cli-subcommands-compiler.html">code compiler</a> to compile code at any time.
4040

4141
<h3 id="codegen-over-why">Why should you regenerate code?</h3>
42-
Suppose a Customer or Proxy class for a Customer class is generated and the Customer class has new methods added to it. Because a Customer or Proxy exists on the file system, it is not re-generated. However, the Customer or Proxy implementation is incomplete now because it does not have the new methods. In this case, you must regenerate the Customer or Proxy class.
42+
Suppose a Customer or Proxy class for a Customer class is generated and the Customer class has new methods added to it. Because a Customer or Proxy exists on the file system, it is not regenerated. However, the Customer or Proxy implementation is incomplete now because it does not have the new methods. In this case, you must regenerate the Customer or Proxy class.
4343

4444
If the code generator implementation itself is changed, you must regenerate all the classes. This is rare, however.
4545

@@ -60,7 +60,7 @@ The single-tenant and multi-tenant compiler create `var/di/global.ser`, which is
6060

6161

6262

63-
<div class="bs-callout bs-callout-warning">
63+
<div class="bs-callout bs-callout-warning">
6464
<p>if you&#8217;re preparing to deploy to production, you must use the multi-tenant compiler. There is a known issue with the single-tenant compiler that prevents it from compiling proxies.</p>
6565
</div>
6666

0 commit comments

Comments
 (0)