We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8da8c80 commit 72ec630Copy full SHA for 72ec630
src/core/dao/column.lisp
@@ -29,10 +29,12 @@
29
(let ((accessor (intern
30
(format nil "~:@(~A~A~)" *conc-name* name)
31
*package*)))
32
- (pushnew accessor readers)
33
- (pushnew `(setf ,accessor) writers)
34
- (setf (getf rest-initargs :readers) readers)
35
- (setf (getf rest-initargs :writers) writers)))
+ (unless readers
+ (pushnew accessor readers)
+ (setf (getf rest-initargs :readers) readers))
+ (unless writers
36
+ (pushnew `(setf ,accessor) writers)
37
+ (setf (getf rest-initargs :writers) writers))))
38
39
(when inflate
40
(setf (getf rest-initargs :inflate) (eval inflate)))
0 commit comments