There should be an option to generate a file per generated class
Bug #644998 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WADL Sharp |
Fix Committed
|
Medium
|
Manuel de la Peña |
Bug Description
Huge files are hard to keep track of. This is some thing that will happen in the case in which the application provided by wadl has a huge amount of functionalities. In the code generation there should be an option in which the generator creates a file per class that uses the same name as the class name (Class.cs).
I envision the use as follows:
Generating a single file by stating the output file explicitly:
wadl-sharp -i test.wadl -o Test.cs -n Test
Generating a class per file by not providing an explicitly output file:
wadl-sharp -i test.wadl -n Test
Related branches
lp://staging/~mandel/wadlsharp/add_diff_files
- Manish Sinha (मनीष सिन्हा): Approve
-
Diff: 429 lines (+323/-16)6 files modifiedLpNet.WadlSharp.Common/LpNet.WadlSharp.Common.csproj (+1/-0)
LpNet.WadlSharp.Common/Serialize/MultiFileCodeSerializer.cs (+142/-0)
LpNet.WadlSharp.UnitTest/LpNet.WadlSharp.UnitTest.csproj (+1/-0)
LpNet.WadlSharp.UnitTest/Serialize/MultiFileCodeSerializerFixture.cs (+141/-0)
WadlConsole/Program.cs (+37/-15)
WadlConsole/ValidationExtensions.cs (+1/-1)
Changed in wadlsharp: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Manuel de la Pena (mandel) |
Changed in wadlsharp: | |
status: | Confirmed → In Progress |
Changed in wadlsharp: | |
milestone: | none → 0.2.0 |
To post a comment you must log in.
Since the branch is merged. This bug is fixed.