Skip to content

Commit

Permalink
Fix another bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
janno-p committed Sep 29, 2016
1 parent 678b53c commit c83454c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#### 1.0.0-beta034 - 29.09.2016
* Fix X-Road header serialization error when serializing required header with missing value.
* Fix X-Road protocol name not assigned bug.

#### 1.0.0-beta033 - 29.09.2016
* Improved customization support for X-Road message headers.
Expand Down
2 changes: 2 additions & 0 deletions src/XRoadLib/XRoadProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public XRoadProtocol(string name, ISchemaExporter schemaExporter)
if (schemaExporter == null)
throw new ArgumentNullException(nameof(schemaExporter));

Name = name;

schemaDefinitionProvider = new SchemaDefinitionProvider(schemaExporter);

HeaderDefinition = schemaDefinitionProvider.GetXRoadHeaderDefinition();
Expand Down

0 comments on commit c83454c

Please sign in to comment.