Git Product home page Git Product logo

Comments (13)

Idered avatar Idered commented on June 14, 2024

Expanding references and relations is not implemented for create and update methods.

from syncano-node.

aexol avatar aexol commented on June 14, 2024

Nooo its a bug not feature! it should return just

6988

Thats how its implemented in syncano-server
@Idered

from syncano-node.

aexol avatar aexol commented on June 14, 2024

It should never expand references as this would be too big cost for database.

from syncano-node.

Idered avatar Idered commented on June 14, 2024

@aexol can you please provide full query and version of syncano-server/syncano-core you use?

from syncano-node.

aexol avatar aexol commented on June 14, 2024

latest syncano-core

await data.mymodel.update({mydata})

from syncano-node.

aexol avatar aexol commented on June 14, 2024

@Idered

from syncano-node.

Idered avatar Idered commented on June 14, 2024

@aexol this should be resolved in latest @syncano/core@canary

from syncano-node.

Idered avatar Idered commented on June 14, 2024

@aexol does it work for you?

from syncano-node.

aexol avatar aexol commented on June 14, 2024
	"dummyowner": {
		"type": "reference",
		"target": "user",
		"value": 2
	},

nope

from syncano-node.

aexol avatar aexol commented on June 14, 2024
	"file": {
		"type": "file",
		"value": "https://d3rij3t703q5l6.cloudfront.net/31451/2/cb8166d4f0baf25b3ce03d4534c04bb1fe49281c.jpg"
	},

from syncano-node.

aexol avatar aexol commented on June 14, 2024

@Idered

from syncano-node.

aexol avatar aexol commented on June 14, 2024

update method

from syncano-node.

aexol avatar aexol commented on June 14, 2024

done

from syncano-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.