You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In different environments, we need different server components. For example, in self-hosted environments, we don't need a payment component but do need a sync component, but in the server environment, we only need the sync component in the synchronization server. Currently, we distinguish loading by server flavor.
A better strategy is to make our server components configurable for loading and be able to tell the front-end what components are enabled on the server. The front end also needs to enable/disable corresponding components based on the configuration of the server to avoid errors caused by requesting unloaded components from the server.
A typical real-world example is Gitlab and Bitwarden; for instance, Bitwarden allows different servers to load different components:
The text was updated successfully, but these errors were encountered:
In different environments, we need different server components. For example, in self-hosted environments, we don't need a payment component but do need a sync component, but in the server environment, we only need the sync component in the synchronization server. Currently, we distinguish loading by server flavor.
![image](https://private-user-images.githubusercontent.com/25152247/285405629-d19ec208-1911-4821-b29d-05cafb5fd0f3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODA0NDksIm5iZiI6MTczODk4MDE0OSwicGF0aCI6Ii8yNTE1MjI0Ny8yODU0MDU2MjktZDE5ZWMyMDgtMTkxMS00ODIxLWIyOWQtMDVjYWZiNWZkMGYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAyMDIyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwNDEyZjljYWExNDYxNGYzYmUwZjcyYWEzODZmOGQ1ODc2YTAxYTY3ODJhMGQxYTZlMDViMWFhZDdmYmU2ODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iEzKF2Iz_rHervEh8OC8501gl42XkRmUMn11GyT2EMs)
A better strategy is to make our server components configurable for loading and be able to tell the front-end what components are enabled on the server. The front end also needs to enable/disable corresponding components based on the configuration of the server to avoid errors caused by requesting unloaded components from the server.
A typical real-world example is Gitlab and Bitwarden; for instance, Bitwarden allows different servers to load different components:
The text was updated successfully, but these errors were encountered: