OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.89k stars 925 forks source link

A server can not be initialized with a private encodeable factory #2662

Open mregen opened 5 days ago

mregen commented 5 days ago

Type of issue

Current Behavior

The server is initialized with a reference to the global factory. If someone add to the globalfactory (e.g. the server has custom types) a client in the same process is already aware of the types and refuses to load them by the complex type system, effectively not creating a private instance.

Expected Behavior

one or multiple servers and clients can use their private copy the encodeable factory

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response