-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Create app flow should use the latest dsl version #5324
Comments
@hetunandu, what do you think about updating the default DSL in the backend itself, instead of having the client send the initial DSL on every create-application request? It appears to be pointing at version 4 currently: appsmith/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/FieldName.java Lines 38 to 58 in 0d106a5
|
I think both client and server should have the latest DSL copy but since all DSL version updates originate because of client side changes, I think it is better that a client sends this when creating an app |
Then may be we can remove the server side hard-coded DSL completely? My take is that either we keep it updated regularly, and use it for new applications, or remove it and let the client send a DSL for new applications. Keeping a copy on both places will add overhead of keeping them updated and in-sync, with no value-addition. |
Summary
When the client does not send a DSL for app creation, the server falls back to using an old default DSL. This causes an updated layout right after the app is created. Instead, the client should send a DSL with the latest version number to avoid this migration later on
Motivation
Improve testability, avoid unnecessary update calls, improve load time performance on new apps
The text was updated successfully, but these errors were encountered: