Skip to content

Add SkeletonField::Get support (EnableGet flag) - #438

Closed
Tejveerpratap2803 wants to merge 6 commits into
eclipse-score:mainfrom
muhseth:muse_skeleton_field_enable_get
Closed

Add SkeletonField::Get support (EnableGet flag)#438
Tejveerpratap2803 wants to merge 6 commits into
eclipse-score:mainfrom
muhseth:muse_skeleton_field_enable_get

Conversation

@Tejveerpratap2803

@Tejveerpratap2803 Tejveerpratap2803 commented May 18, 2026

Copy link
Copy Markdown
Contributor

mw/com/impl: introduces and implements SkeletonField::Get

  • SkeletonField now includes a new template parameter, EnableGet.
  • When EnableGet is true, a skeleton Get method attribute is added to SkeletonField.
  • Constructors were updated to support all relevant EnableSet and EnableGet combinations.
  • Automatically register a Get handler for fields with EnableGet.
  • Serve Get requests by reading the latest field value and returning it through the Get method.
  • Pass additional_slots through field binding creation.
  • Compute additional_slots from EnableSet || EnableGet.
  • Use configured_slots + additional_slots in event properties.
  • Add unit tests for +1 and default (unchanged) slot count.

@Tejveerpratap2803
Tejveerpratap2803 marked this pull request as draft May 18, 2026 01:51
@Tejveerpratap2803 Tejveerpratap2803 changed the title Muse skeleton field enable get Add SkeletonField::Get support (EnableGet flag) May 18, 2026
@Tejveerpratap2803
Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 4 times, most recently from b48d1b6 to c45fc0c Compare June 1, 2026 06:16
@Tejveerpratap2803
Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 4 times, most recently from c8fce55 to 05289f4 Compare June 3, 2026 12:51
@Tejveerpratap2803
Tejveerpratap2803 marked this pull request as ready for review June 3, 2026 13:40
@bemerybmw
bemerybmw marked this pull request as draft June 10, 2026 11:27
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If this PR is still relevant, please leave a comment or push new changes to keep it open.

@github-actions github-actions Bot added the stale label Jun 25, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

This pull request has been automatically closed due to inactivity. Feel free to reopen it if you would like to continue working on it.

@github-actions github-actions Bot closed this Jul 3, 2026
@github-actions github-actions Bot removed the stale label Jul 4, 2026
@bemerybmw bemerybmw self-assigned this Jul 17, 2026
@Tejveerpratap2803
Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 3 times, most recently from f7d3296 to 0b3526f Compare July 21, 2026 14:28
@Tejveerpratap2803
Tejveerpratap2803 marked this pull request as ready for review July 21, 2026 18:33
@Tejveerpratap2803
Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 2 times, most recently from 37e7c5a to 38af1d3 Compare July 26, 2026 18:48
muhseth and others added 5 commits July 27, 2026 00:29
- Automatically register a Get handler for fields with EnableGet.
- Serve Get requests by reading the latest field value and returning it through the Get method.
- Add a test covering this behavior.
Issue: SWP-249517
- pass additional_slots through field binding creation
- compute additional_slots from EnableSet || EnableGet
- use configured_slots + additional_slots in event properties
- add unit tests for +1 and default (unchanged) slot count
-  Added the RegisterHandler(callback, QualityType) overload
-  Extended TypeErasedCallbackSignature with QualityType as 3rd param
-  Capture asil_level in OnProxyMethodSubscribeFinished so each proxy connection carries its own ASIL level at call time
-  Updated BUILD visibility/deps for quality type
- Update RegisterGetHandler() to use QualityType-aware RegisterHandler overload
- Fixed the unit test case by adding qualitytype as param
@Tejveerpratap2803
Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 3 times, most recently from 104b4b3 to a5caed5 Compare July 26, 2026 20:21
- Pass WithGetter tag presence from SkeletonField down to lola::SkeletonEvent
via the field binding factory chain, replacing the hard-coded false value.
- Merge both RegisterHandler overloads into one RegisterHandlerImpl and passed QualityType only when the
callback accepts it
- Expose all args of CreateEventBinding in mock
@bemerybmw

Copy link
Copy Markdown
Contributor

Taken over in: #758

@bemerybmw bemerybmw closed this Jul 31, 2026
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