mirror of https://github.com/Hax-io/libpb
- Ensure that `serializeRecord()` and `fromJSON()` are publically imported as part of the package import to fix user-defined types lookups (such as enums)
This commit is contained in:
parent
5c0dcfe15b
commit
d89b7159dd
|
@ -2,3 +2,7 @@ module libpb;
|
|||
|
||||
public import libpb.exceptions;
|
||||
public import libpb.driver;
|
||||
|
||||
// These being brought in means they can UDT (user-defined types) like enums it cannot see otherwise
|
||||
public import libpb.serialization : serializeRecord;
|
||||
public import libpb.deserialization : fromJSON;
|
Loading…
Reference in New Issue