Skip to content

Conversation

@evanmcneely
Copy link
Contributor

@evanmcneely evanmcneely commented Jul 6, 2022

Summary

  1. The type weights object has been refactored to include the type that the field resolves to along with its weight where necessary
  2. As a result of the above change, the testing suites for complexity analysis and type weights were updated to reflect this new strategy
  3. The outcomes of this update are that nesting, lists, arguments and variables all have basic functionality

Some things to be aware of...

  • The expected outcome of test simple nesting should be reviewed.
  • I'm unsure if the new type weights object structure can handle Unions properly since the union doesn't have fields and has no reference for where to look for the fields.
  • scalar lists and lists of enums need to be reviewed

Type of Change

Please delete options that are not relevant.

  • 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)

Issues

closes #62
closes #60
closes #58
closes #63

Evidence

Screen Shot 2022-07-06 at 10 30 30 AM
Screen Shot 2022-07-06 at 10 30 53 AM
Screen Shot 2022-07-06 at 10 31 01 AM

…ss tests. Uncovering some other deep problems in our setup that will have to be addressed moving forward
…selection cost and handle the everything involved with calculating field weights
@evanmcneely evanmcneely requested a review from shalarewicz July 7, 2022 18:51
Copy link
Collaborator

@shalarewicz shalarewicz left a comment

Choose a reason for hiding this comment

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

Looks good. Just one commend on the test case with object weight = 0

Copy link
Collaborator

@shalarewicz shalarewicz left a comment

Choose a reason for hiding this comment

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

Good work! No further comments.

@evanmcneely evanmcneely merged commit 8d594cb into dev Jul 9, 2022
@evanmcneely evanmcneely deleted the em/lists-variables-nesting-refactoring branch August 1, 2022 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants