Skip to content
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

[RND-704][RND-670] Update MetaEd and DS, begin/end dates optional on descriptors #341

Merged
merged 5 commits into from
Jan 19, 2024

Conversation

bradbanister
Copy link
Contributor

No description provided.

andonyns
andonyns previously approved these changes Jan 17, 2024
@andonyns andonyns dismissed their stale review January 17, 2024 21:53

Waiting on confirmation from Stephen's comment

@bradbanister bradbanister changed the title [RND-704] Update MetaEd and DS to 5.0.0 [RND-704][RND-670] Update MetaEd and DS, begin/end dates optional on descriptors Jan 18, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are some big files. Which is fine at the moment. For Tanager, we'll probably want to compress the files. But we'll also need to think about the extension developer experience.

I tried to edit this file in VS code, removing all leading spaces. Wanted to see what difference that makes in the file size. VS Code completely froze when I tried to save it. Had to kill it with task manager. Notepad did better.

Result: file size from 4,2xy KB (wasn't looking closely) down to 2,501 KB.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be trimmed down significantly. The current format has the JSON Schemas repeating three times for each resource because there are variations between insert, update and query parameters. The variations of update and query are small and can be tweaked at startup time or runtime. I pre-generated all of them in the interest of performance, but agree with the bloat. It makes it hard to inspect the file manually.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an aside, ODS/API's ApiModel.json runs around 4400KB these days...

@stephenfuqua stephenfuqua merged commit 3d9ebb3 into main Jan 19, 2024
15 checks passed
@stephenfuqua stephenfuqua deleted the RND-704 branch January 19, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants