Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、クライアント パッケージにドメイン オブジェクトがあります。これらのオブジェクトはサーバーの RPC メソッドで使用され、すべて正常に動作します。なぜ共有パッケージが必要なのですか?
サーバー側のコードでクライアント パッケージをインポートしたため、正常に動作します。現在、サーバー側はドメイン オブジェクトのクライアント パッケージに依存しています。したがって、クライアント側とサービス側のコードを厳密に分離するには、共有フォルダーを使用する必要があります。