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

refactor: Remove runtime field from TypeNode #858

Closed
wants to merge 10 commits into from

Conversation

Natoandro
Copy link
Contributor

@Natoandro Natoandro commented Sep 27, 2024

Solve MET-94

  • Remove runtime field from TypeNode

Also:

  • Allow serialization without config file

Migration notes

N/A

Checklist

  • The change comes with new or modified tests
  • Hard-to-understand functions have explanatory comments
  • End-user documentation is updated to reflect the change

Copy link

linear bot commented Sep 27, 2024

@Natoandro Natoandro marked this pull request as ready for review September 27, 2024 18:45
@Natoandro Natoandro requested review from Yohe-Am, j03-dev, michael-0acf4 and zifeo and removed request for Yohe-Am and j03-dev September 27, 2024 18:46
Yohe-Am
Yohe-Am previously approved these changes Sep 30, 2024
Copy link
Contributor

@Yohe-Am Yohe-Am left a comment

Choose a reason for hiding this comment

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

Pretty clean!

@j03-dev j03-dev requested a review from Yohe-Am October 1, 2024 05:37
@Natoandro
Copy link
Contributor Author

Reproduced in #871.

@Natoandro Natoandro closed this Oct 15, 2024
Natoandro added a commit that referenced this pull request Oct 22, 2024
-
[MET-682](https://linear.app/metatypedev/issue/MET-682/move-all-injection-data-to-tfunc)
  - [x] Move all injection data in `ObjectTypeData` (i.e. `t.func`)
-
[MET-656](https://linear.app/metatypedev/issue/MET-656/sdk-improve-generated-titles-from-applyreduce)
  - [x] Translate reduce to injection specification on `t.func`
-
[MET-94](https://linear.app/metatypedev/issue/MET-94/remove-runtime-field-from-typenode)
  - [x] Remove runtime field from `TypeNode` (#858)
-
[MET-683](https://linear.app/metatypedev/issue/MET-683/move-runtime-related-type-configs-out-of-typenode)
- [x] Move runtime-related configs to `MaterializerData` or
`RuntimeData`
- Misc.
- Enable random ports for the typegate (when `TG_PORT=0`); this will
work with `meta dev` with embedded typegate if you set the `--gate`
option with port `0`.

<!-- 2. Explain WHY the change cannot be made simpler -->



<!-- 3. Explain HOW users should update their code -->

#### Migration notes

...

- [x] The change comes with new or modified tests
- [x] Hard-to-understand functions have explanatory comments
- [ ] End-user documentation is updated to reflect the change
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.

2 participants