Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Simplify command codegen #1263

Merged
merged 17 commits into from Feb 3, 2020
Merged

Conversation

zeroZshadow
Copy link
Contributor

@zeroZshadow zeroZshadow commented Jan 31, 2020

Description

Codegen de-duplication for command.
This is a big one, go per commit.

Tests

  • Tests
  • Playground

Documentation

  • Changelog

@improbable-prow-robot improbable-prow-robot added jira/no-ticket Indicates a PR has no corresponding JIRA ticket do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Jan 31, 2020
@improbable-prow-robot improbable-prow-robot added size/XXL Denotes a PR that changes 600+ lines, ignoring generated files. A: core Area: Core GDK labels Jan 31, 2020
@zeroZshadow zeroZshadow force-pushed the feature/simplify-command-codegen branch from f540d7c to 55457c1 Compare January 31, 2020 14:09
@improbable-prow-robot improbable-prow-robot added A: build-system Area: Build system feature module A: game-object-creation Area: Gameobject creation feature module A: tooling Area: Tooling labels Jan 31, 2020
@zeroZshadow zeroZshadow marked this pull request as ready for review January 31, 2020 15:20
@improbable-prow-robot improbable-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 31, 2020
CHANGELOG.md Outdated Show resolved Hide resolved
paulbalaji
paulbalaji previously approved these changes Jan 31, 2020
@@ -171,7 +171,7 @@ private static void Generate()
{
var option = EditorUtility.DisplayDialogComplex("Generate Code",
$"Code generation failed with {numWarnings} warnings and {numErrors} errors!{Environment.NewLine}{Environment.NewLine}"
+ "Please check the code generation logs for more information: {loggerOutputPath}",
+ $"Please check the code generation logs for more information: {loggerOutputPath}",
Copy link
Contributor

Choose a reason for hiding this comment

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

my bad 😬

workerSystem = world.GetExistingSystem<WorkerSystem>();
if (workerSystem == null)
{
throw new ArgumentException("No worker");
Copy link
Contributor

Choose a reason for hiding this comment

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

😬

{
this.world = world;

// Check that these are there
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be checking & throwing here?

@zeroZshadow zeroZshadow force-pushed the feature/simplify-command-codegen branch from 57b65d6 to 4a2dd57 Compare February 3, 2020 17:41
@zeroZshadow zeroZshadow merged commit 7905523 into develop Feb 3, 2020
@zeroZshadow zeroZshadow deleted the feature/simplify-command-codegen branch February 3, 2020 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: build-system Area: Build system feature module A: core Area: Core GDK A: game-object-creation Area: Gameobject creation feature module A: tooling Area: Tooling jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/XXL Denotes a PR that changes 600+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants