Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: remove entity typename = ref typename #19

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

Merged
merged 7 commits into from
Aug 31, 2021
Merged

Conversation

tarekul
Copy link
Contributor

@tarekul tarekul commented Aug 30, 2021

Proposed changes

  • Removed $entity['typename'] = $ref['typename'] from EntityObjectType because we will check typeof object in the ClassLessonType.
  • Changed testResolvingEntityReferences test to handle the new change
  • Added in typename to __referenceResolver for getEpisodeType so that test passes.

How to test

  • This is a tech debt. Once all debts are completed we will test if ClassLesson type, field Class resolves.

Unit Tests

  • This PR has unit tests
  • This PR does not have unit tests: why?

@tarekul tarekul changed the title fix:remove entity typename = ref typename Fix:remove entity typename = ref typename Aug 30, 2021
xiian
xiian previously approved these changes Aug 30, 2021
@@ -81,66 +81,5 @@ public function testSchemaSdl()

$this->assertMatchesSnapshot($schemaSdl);
}

public function testResolvingEntityReferences()
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should remove the entire test, just adjust it to handle the change

@tarekul tarekul changed the title Fix:remove entity typename = ref typename fix: remove entity typename = ref typename Aug 30, 2021
@tarekul tarekul requested a review from jmauerhan August 31, 2021 16:34
Copy link
Contributor

@jmauerhan jmauerhan left a comment

Choose a reason for hiding this comment

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

@tarekul tarekul merged commit e195b5d into master Aug 31, 2021
@tarekul tarekul deleted the SK-34162-updateApolloFed branch August 31, 2021 20:52
@jmauerhan
Copy link
Contributor

@tarekul don't forget to bump this in skillshare as part of your Class/ClassLesson fixes :)

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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.