Skip to content

Commit

Permalink
Merge pull request #47 from seandenigris/ma-2stage-record-class
Browse files Browse the repository at this point in the history
Magritte Two Stage Importer - Enable Record Class
  • Loading branch information
seandenigris authored Dec 27, 2023
2 parents b0047d4 + 3bb3206 commit fcffa0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repository/Neo-CSV-Magritte/MACSVTwoStageImporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Class {
MACSVTwoStageImporter >> configureReaderFor: aStream [

super configureReaderFor: aStream.
self reader recordClass: Dictionary.

self reader
emptyFieldValue: #passNil;
Expand Down Expand Up @@ -88,7 +89,7 @@ MACSVTwoStageImporter >> initializeDomainObject: anObject fromRecord: aDictionar
{ #category : #accessing }
MACSVTwoStageImporter >> initializeDomainObject: anObject fromRecord: aDictionary mapping: mapBlock descriptionDo: descriptionBlock [
"
anObject - domain objec to be initialized
anObject - domain object to be initialized
aDictionary - keys are CSV column names
mapBlock - use to modify existing descriptions; argument will be an MACSVMappingPragmaBuilder to configure
descriptionBlock - argument is the container description for anObject, for further configuration e.g. adding an element description"
Expand Down

0 comments on commit fcffa0b

Please sign in to comment.