-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bean :recursive true and ->clj behaves differently #76
Comments
Hey! Can you provide any more detail in what way it behaves differently? |
I managed to create the issue before I added the description, but now it's there |
I wonder if the object in question is returning |
Project {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
metadata: {
projectNumber: '0000000000',
projectId: 'xxxxxxxxxxx',
lifecycleState: 'ACTIVE',
name: 'xxxxxxxx',
createTime: '2019-11-28T09:56:03.185Z',
parent: [Object]
},
baseUrl: '/projects',
parent: Resource {
baseUrl: 'https://cloudresourcemanager.googleapis.com/v1',
apiEndpoint: 'cloudresourcemanager.googleapis.com',
timeout: undefined,
globalInterceptors: [],
interceptors: [],
packageJson: [Object],
projectId: '{{projectId}}',
projectIdRequired: false,
Promise: [Function: Promise],
makeAuthenticatedRequest: [Function],
authClient: [GoogleAuth],
getCredentials: [Function: bound getCredentials],
getProjectsStream: [Function (anonymous)]
} |
When I try to interact with the objects returned by the Google Cloud
getProjects
function I get different results when using->clj
andbean :recursive true
vs.
Is this because the objects returned from the Google Cloud library is not "pure" javascript Objects?
I would love to add something to the README about this gotcha, but not sure how to formulate it as I don't really understand the underlying reason for this happening.
The text was updated successfully, but these errors were encountered: