Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@akijakya
Copy link
Member

@akijakya akijakya commented Oct 9, 2025

This PR adds a new type to the dictionary called typed_map_t, in which the type of the value can be any dictionary type (key is always string to produce a valid JSON).

This also replaces the string_map_t which was created to enforce a map where the values could only be strings.

Change on the UI is in the Type of the annotations attribute here:

Before After
Screenshot 2025-10-10 at 9 24 44 Screenshot 2025-10-12 at 16 45 28

Closes #209

@akijakya akijakya requested a review from a team as a code owner October 9, 2025 16:25
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 10, 2025, 7:41 PM

@ramizpolic
Copy link
Member

ramizpolic commented Oct 10, 2025

nit: suggestion on UI string for map types, we could have String -> String Map instead of Typed Map (String -> String)

@akijakya akijakya changed the title feat: customizable map type feat(schema, server): customizable map type Oct 10, 2025
@akijakya akijakya force-pushed the feat/key-value-attribute branch from 1d365a5 to e1f109f Compare October 10, 2025 19:41
@akijakya akijakya merged commit a674dba into main Oct 14, 2025
10 checks passed
@akijakya akijakya deleted the feat/key-value-attribute branch October 14, 2025 07:53
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.

Key-value attribute with configurable types

3 participants