fix(codegen): Reverts & Disables codegen (for now) (#625)

After speaking with the C# devs, it is clear that code gen is not ready.
I can get around this by doing the following:
1. Creating a library
2. Splitting out the schema writing from the source generator
3. Moving the schema loading to `AdditionalFiles`
4. Writing a new post-build application using Roslyn to write the schema files after building.
This commit is contained in:
Kamron Batman 2021-05-27 19:50:22 -07:00 • committed by GitHub
parent 6e9108302a
commit f2d44e0283
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 1053 additions and 487 deletions

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Engines.Events.NaughtyTwin",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.AnimatedHeartShapedBox",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.ChairInAGhostCostume",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.ColoredSmallWebs",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.CreepyCake",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.CupidStatue",
"properties": []
}

View file

@ -1,22 +0,0 @@
{
"version": 0,
"type": "Server.Items.CupidsArrow",
"properties": [
{
"name": "From",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
},
{
"name": "To",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
}
]
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.DragonEasterEgg",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.ExcellentIronMaiden",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Fireflies",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.FirefliesDeed",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.GrimWarning",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.HalloweenGuillotine",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 1,
"type": "Server.Items.HalloweenPumpkin",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.HarvestWine",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.HeartShapedBox",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.AngelDecoration",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.PaintedDaemonMask",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.PaintedEvilClownMask",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.PaintedEvilJesterMask",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.PaintedPlagueMask",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.PaintedPorcelainMask",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Holiday.RockingHorse",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.JellyBeans",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Lollipops",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.MrPlainsCookies",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.MurkyMilk",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.NougatSwirl",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.PumpkinPizza",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.PumpkinScarecrow",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.RuinedTapestry",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.SkullsOnPike",
"properties": []
}

View file

@ -1,38 +0,0 @@
{
"version": 0,
"type": "Server.Items.StValentinesBear",
"properties": [
{
"name": "Owner",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
},
{
"name": "Line1",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
},
{
"name": "Line2",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
},
{
"name": "Line3",
"type": "string",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": [
"InternString"
]
}
]
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.StValentinesPanda",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.StValentinesPolarBear",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.Taffy",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.TwilightLantern",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Items.WrappedCandy",
"properties": []
}

View file

@ -1,5 +0,0 @@
{
"version": 0,
"type": "Server.Mobiles.PumpkinHead",
"properties": []
}