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

Skip to content

Conversation

@lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Sep 9, 2025

  • Removes TypedObjectId in favour of having a separate field with the class label in the fetch constructors. This makes the handling of object ids more uniform.
  • Removes the unused AnObject type from Applib.Surface.Object

@lukaszcz lukaszcz self-assigned this Sep 9, 2025
@lukaszcz lukaszcz requested a review from Copilot September 9, 2025 09:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the codebase to remove the TypedObjectId type and replace it with a cleaner approach using a separate classLabel parameter in fetch operations. Additionally, it removes the unused AnObject type from the Surface Object module.

  • Replaces TypedObjectId with explicit classLabel parameter in fetch constructors
  • Removes unused AnObject type and related helper functions
  • Updates all fetch operations to use the new parameter structure

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
AVM/Object.lean Removes TypedObjectId structure definition
Applib/Surface/Object.lean Removes unused AnObject type and related functions
AVM/Program.lean Updates fetch constructor to use separate classLabel parameter
AVM/Program/Parameters.lean Updates Parameters.fetch to use new parameter structure
AVM/Tasks.lean Updates Tasks.fetch to use new parameter structure
AVM/Task.lean Updates Task.absorbFetch to use new parameter structure
AVM/Task/Translation.lean Updates parameter resolution to use new structure
AVM/Class/Translation/Tasks.lean Updates fetch calls to use new parameter structure
Applib/Surface/Program.lean Updates toAVM translation to use new parameter structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@lukaszcz lukaszcz merged commit 537f03a into main Sep 9, 2025
1 check passed
@lukaszcz lukaszcz deleted the fetch-refactor branch September 9, 2025 09:20
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