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

Feature-based architecture exploration #337

Closed
wants to merge 1 commit into from

Conversation

jhamon
Copy link
Collaborator

@jhamon jhamon commented May 3, 2024

Problem

Describe the purpose of this change. What problem is being solved and why?

Solution

Describe the approach you took. Link to any relevant bugs, issues, docs, or other resources.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Describe specific steps for validating this change.

Comment on lines +57 to +63
type_translation = {
'string': 'str',
'integer': 'int',
'boolean': 'bool',
'array': 'List',
'object': 'Dict',
'number': 'float'
Copy link

@aulorbe aulorbe May 3, 2024

Choose a reason for hiding this comment

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

OOC why do you do List (instead of list) and Dict instead of (dict) here?

Copy link

Choose a reason for hiding this comment

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

(Mostly ask b/c I think Python's moving towards deprecating the typing.<whatever> types in favor of built-ins)

@jhamon jhamon force-pushed the jhamon/feature-plugin-poc branch from 41dbeba to 4d436ec Compare May 6, 2024 16:41
@jhamon jhamon closed this Jun 4, 2024
@jhamon
Copy link
Collaborator Author

jhamon commented Jun 4, 2024

I learned a lot from scribbling some ideas here as a POC, but I think it makes sense to pursue code generation in a more careful and rigorous way somewhere outside of this repository.

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